Skip to content

Commit

Permalink
debug: update test to identify bug in GH-9566
Browse files Browse the repository at this point in the history
  • Loading branch information
davemay99 committed Dec 9, 2020
1 parent dfcdc9c commit 24e9d5f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions command/operator_debug_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,11 @@ func TestDebug_NodeClass(t *testing.T) {
args: []string{"-address", url, "-duration", "250ms", "-server-id", "all", "-node-id", "all", "-node-class", "clienta", "-max-nodes", "2"},
expectedCode: 0,
expectedOutputs: []string{
"Starting debugger",
"Created debug archive",
"Servers: (1/1)",
"Clients: (2/3)",
"Max node count reached (2)",
"Node Class: clienta",
"Created debug archive",
},
expectedError: "",
},
Expand All @@ -176,9 +177,10 @@ func TestDebug_NodeClass(t *testing.T) {
args: []string{"-address", url, "-duration", "250ms", "-server-id", "all", "-node-id", "all", "-node-class", "clientb", "-max-nodes", "2"},
expectedCode: 0,
expectedOutputs: []string{
"Starting debugger",
"Created debug archive",
"Servers: (1/1)",
"Clients: (1/3)",
"Node Class: clientb",
"Created debug archive",
},
expectedError: "",
},
Expand Down

0 comments on commit 24e9d5f

Please sign in to comment.