Browse Source

Added FIXME about possible race condition in a unit test

Solomon Hykes 12 years ago
parent
commit
194f487749
1 changed files with 1 additions and 0 deletions
  1. 1 0
      server_test.go

+ 1 - 0
server_test.go

@@ -85,6 +85,7 @@ func TestCreateStartRestartStopStartKillRm(t *testing.T) {
 		t.Fatal(err)
 		t.Fatal(err)
 	}
 	}
 
 
+	// FIXME: this failed once with a race condition ("Unable to remove filesystem for xxx: directory not empty")
 	if err = srv.ContainerDestroy(id, true); err != nil {
 	if err = srv.ContainerDestroy(id, true); err != nil {
 		t.Fatal(err)
 		t.Fatal(err)
 	}
 	}