@@ -11,7 +11,7 @@ func TestWaitForMount(t *testing.T) {
1111 t .Run ("succeeds when check passes immediately" , func (t * testing.T ) {
1212 check := func () error { return nil }
1313
14- err := waitForMount (check , 10 * time .Millisecond , 100 * time .Millisecond )
14+ err := waitForMount ("/workspace" , check , 10 * time .Millisecond , 100 * time .Millisecond )
1515 if err != nil {
1616 t .Fatalf ("expected nil error, got %v" , err )
1717 }
@@ -27,7 +27,7 @@ func TestWaitForMount(t *testing.T) {
2727 return nil
2828 }
2929
30- err := waitForMount (check , 10 * time .Millisecond , 500 * time .Millisecond )
30+ err := waitForMount ("/workspace" , check , 10 * time .Millisecond , 500 * time .Millisecond )
3131 if err != nil {
3232 t .Fatalf ("expected nil error, got %v" , err )
3333 }
@@ -39,7 +39,7 @@ func TestWaitForMount(t *testing.T) {
3939 t .Run ("returns MountNotReadyError on timeout" , func (t * testing.T ) {
4040 check := func () error { return errors .New ("not mounted" ) }
4141
42- err := waitForMount (check , 10 * time .Millisecond , 50 * time .Millisecond )
42+ err := waitForMount ("/workspace" , check , 10 * time .Millisecond , 50 * time .Millisecond )
4343 if err == nil {
4444 t .Fatal ("expected error, got nil" )
4545 }
0 commit comments