diff options
Diffstat (limited to 'pkg/instance/instance_test.go')
| -rw-r--r-- | pkg/instance/instance_test.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pkg/instance/instance_test.go b/pkg/instance/instance_test.go index e27361091..92903512c 100644 --- a/pkg/instance/instance_test.go +++ b/pkg/instance/instance_test.go @@ -152,11 +152,10 @@ func TestRunnerCmd(t *testing.T) { flagArch := flags.String("arch", "", "target architecture") flagPool := flags.Int("pool", 0, "index of pool that started VM") flagVM := flags.Int("vm", 0, "index of VM that started the Runner") - flagCollide := flags.Bool("collide", true, "collide syscalls to provoke data races") flagThreaded := flags.Bool("threaded", true, "use threaded mode in executor") flagEnv := flags.Bool("new-env", true, "create a new environment for each program") - cmdLine := RunnerCmd(os.Args[0], "localhost:1234", targets.Linux, targets.AMD64, 0, 0, false, false, false) + cmdLine := RunnerCmd(os.Args[0], "localhost:1234", targets.Linux, targets.AMD64, 0, 0, false, false) args := strings.Split(cmdLine, " ")[1:] if err := flags.Parse(args); err != nil { t.Fatalf("error parsing flags: %v, want: nil", err) @@ -182,10 +181,6 @@ func TestRunnerCmd(t *testing.T) { t.Errorf("bad vm index: %d, want: %d", got, want) } - if got, want := *flagCollide, false; got != want { - t.Errorf("bad collide: %t, want: %t", got, want) - } - if got, want := *flagThreaded, false; got != want { t.Errorf("bad threaded: %t, want: %t", got, want) } |
