Skip to content
Snippets Groups Projects
Commit 260bdf45 authored by ale's avatar ale
Browse files

Add small sleep to stabilize test

parent 0de44b9c
Branches
No related tags found
No related merge requests found
......@@ -138,6 +138,10 @@ func TestServer(t *testing.T) {
}
log.Printf("stream /stream.ogg created successfully")
// Sleep a small amount of time to avoid spurious 404 errors
// due to etcd propagation.
time.Sleep(500 * time.Millisecond)
// Try to read from the stream and verify the upstream data.
// Force connections always to node1 (the HTTP redirect will
// have a DNS name, so we need to override that).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment