Commit c31c4c49 authored by Andrei Matei's avatar Andrei Matei

kvserver: fixup test failure message

Expected and real err were reversed.

Release note: None
parent fd1bccfd
......@@ -3247,7 +3247,7 @@ func TestStoreRangeMergeDuringShutdown(t *testing.T) {
return err
})
if exp := "not lease holder"; !testutils.IsError(err, exp) {
t.Fatalf("expected %q error, but got %v", err, exp)
t.Fatalf("expected %q error, but got %v", exp, err)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment