Skip to content

Commit

Permalink
fix check in functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaofan committed May 17, 2022
1 parent 1c3c916 commit 4730902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functional_consumer_staticmembership_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ func TestFuncConsumerGroupStaticMembership_Fenced(t *testing.T) {
if len(m2.errs) < 1 {
t.Errorf("expect m2 to be fenced by group instanced id, but got no err")
}
if errors.Is(m2.errs[0], ErrFencedInstancedId) {
if !errors.Is(m2.errs[0], ErrFencedInstancedId) {
t.Errorf("expect m2 to be fenced by group instanced id, but got wrong err %v", m2.errs[0])
}

Expand Down

0 comments on commit 4730902

Please sign in to comment.