Commit 61880caa authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Wait for the mount to complete before inspecting InitRequest/InitResponse.

This fixes flakiness in TestNoOpen.

Change-Id: I8909236d9539c1729bd8a78d460d6637f7c775e0
parent 3e9dd8f9
...@@ -60,6 +60,7 @@ func TestNoOpen(t *testing.T) { ...@@ -60,6 +60,7 @@ func TestNoOpen(t *testing.T) {
defer s.Unmount() defer s.Unmount()
go s.Serve() go s.Serve()
s.WaitMount()
if s.KernelSettings().Minor < 23 { if s.KernelSettings().Minor < 23 {
t.Skip("Kernel does not support open-less read/writes. Skipping test.") t.Skip("Kernel does not support open-less read/writes. Skipping test.")
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment