diff --git a/service/test/integration1_test.go b/service/test/integration1_test.go index ed10e28d1cccf9a193889c26ef32fb3fe219cc45..38669a6de65c5780c6ed1af1b717e2f519d80dbd 100644 --- a/service/test/integration1_test.go +++ b/service/test/integration1_test.go @@ -197,7 +197,7 @@ func Test1ClientServer_step(t *testing.T) { } if before, after := stateBefore.CurrentThread.PC, stateAfter.CurrentThread.PC; before >= after { - t.Errorf("Expected %#v to be greater than %#v", before, after) + t.Fatalf("Expected %#v to be greater than %#v", after, before) } }) } diff --git a/service/test/integration2_test.go b/service/test/integration2_test.go index 66e2b02f73f8a732e213ce8fc4ce24020adb7756..67ee5e6f31a07a273ba4894daaf7f89420305e16 100644 --- a/service/test/integration2_test.go +++ b/service/test/integration2_test.go @@ -228,7 +228,7 @@ func TestClientServer_step(t *testing.T) { } if before, after := stateBefore.CurrentThread.PC, stateAfter.CurrentThread.PC; before >= after { - t.Errorf("Expected %#v to be greater than %#v", before, after) + t.Fatalf("Expected %#v to be greater than %#v", after, before) } }) }