mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
integration_test: Make TestTmpMountWithSize error message less confusing.
If I understand correctly, this test expects the second write to fail, but if it succeeds, the error message it shows suggests that it should have failed. This CL rewords this message to reflect that. #codehealth PiperOrigin-RevId: 456835892
This commit is contained in:
committed by
gVisor bot
parent
102e3d4993
commit
55776eca5f
@@ -944,7 +944,7 @@ func TestTmpMountWithSize(t *testing.T) {
|
||||
}
|
||||
echoOutput, err := d.Exec(ctx, dockerutil.ExecOpts{}, "/bin/sh", "-c", "echo world > /tmp/foo/test2.txt")
|
||||
if err == nil {
|
||||
t.Fatalf("docker exec size check failed: %v", err)
|
||||
t.Fatalf("docker exec size check unexpectedly succeeded (output: %v)", echoOutput)
|
||||
}
|
||||
wantErr := "No space left on device"
|
||||
if !strings.Contains(echoOutput, wantErr) {
|
||||
|
||||
Reference in New Issue
Block a user