Skip to content

Commit 1eaa22a

Browse files
committed
chore(integration): chore: fix testifylint issues part 1
#### Description chore: fix testifylint issues in integration Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 parent e53c2e1 commit 1eaa22a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

integration/integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ func TestRestartLeader(t *testing.T) {
536536
if node.ID == origLeaderID {
537537
continue
538538
}
539-
require.False(t, node.Status.State == api.NodeStatus_DOWN, "nodes shouldn't go to down")
539+
require.NotEqual(t, api.NodeStatus_DOWN, node.Status.State, "nodes shouldn't go to down")
540540
if node.Status.State != api.NodeStatus_READY {
541541
return errors.Errorf("node %s is still not ready", node.ID)
542542
}

0 commit comments

Comments
 (0)