From 37491f4a5d25c506b2e4ff0f9cbbeb4053310cf7 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期三, 17 五月 2023 15:24:15 +0800 Subject: [PATCH] for test --- cmd/TST/test/test.go | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cmd/TST/test/test.go b/cmd/TST/test/test.go index 2efce4c..534491f 100644 --- a/cmd/TST/test/test.go +++ b/cmd/TST/test/test.go @@ -55,6 +55,7 @@ } return nil }) + // go c.Run("192.168.20.108:4150", 2) go c.RunLookupd("192.168.20.108:4161", 2) @@ -67,8 +68,11 @@ } func Test() { - go produce(true) + two := false + go produce(two) - go consume("test2", "sensor01") + if two { + go consume("test2", "sensor01") + } consume("test", "sensor01") } -- Gitblit v1.8.0