mirror of
https://github.com/talent-plan/tinykv.git
synced 2024-12-25 20:30:30 +08:00
change err log output format (#430)
This commit is contained in:
parent
70a9cc68a9
commit
f251031837
@ -206,7 +206,7 @@ func TestRawNodeRestart2AC(t *testing.T) {
|
||||
}
|
||||
rd := rawNode.Ready()
|
||||
if !reflect.DeepEqual(rd, want) {
|
||||
t.Errorf("g = %+v,\n w %+v", rd, want)
|
||||
t.Errorf("g = %#v,\n w %#v", rd, want)
|
||||
}
|
||||
rawNode.Advance(rd)
|
||||
if rawNode.HasReady() {
|
||||
@ -242,7 +242,7 @@ func TestRawNodeRestartFromSnapshot2C(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if rd := rawNode.Ready(); !reflect.DeepEqual(rd, want) {
|
||||
t.Errorf("g = %+v,\n w %+v", rd, want)
|
||||
t.Errorf("g = %#v,\n w %#v", rd, want)
|
||||
} else {
|
||||
rawNode.Advance(rd)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user