Skip to content
Snippets Groups Projects
Commit 63675582 authored by zhenshan.cao's avatar zhenshan.cao Committed by yefu.chen
Browse files

Fix unittest bug: query node num

parent 2cec04ed
No related branches found
No related tags found
No related merge requests found
...@@ -21,11 +21,6 @@ func TestParamTable_QueryNode(t *testing.T) { ...@@ -21,11 +21,6 @@ func TestParamTable_QueryNode(t *testing.T) {
assert.Contains(t, Params.QueryNodeIDList(), id) assert.Contains(t, Params.QueryNodeIDList(), id)
}) })
t.Run("Test num", func(t *testing.T) {
num := Params.QueryNodeNum
assert.Equal(t, num, 2)
})
t.Run("Test time tick channel", func(t *testing.T) { t.Run("Test time tick channel", func(t *testing.T) {
ch := Params.QueryTimeTickChannelName ch := Params.QueryTimeTickChannelName
assert.Equal(t, ch, "queryTimeTick") assert.Equal(t, ch, "queryTimeTick")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment