Skip to content

Commit

Permalink
Add wait for jaeger deployment to fix race conditions (#816)
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Earls <[email protected]>
  • Loading branch information
kevinearls authored and jpkrohling committed Dec 5, 2019
1 parent 3b7c22e commit 468a8aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/sidecar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ func (suite *SidecarTestSuite) TestSidecar() {
require.NoError(t, err, "Failed to create jaeger instance")
defer undeployJaegerInstance(j)

err = e2eutil.WaitForDeployment(t, fw.KubeClient, namespace, jaegerInstanceName, 1, retryInterval, timeout)
require.NoError(t, err, "Error waiting for Jaeger instance deployment")

dep := getVertxDefinition(namespace)
err = fw.Client.Create(goctx.TODO(), dep, cleanupOptions)
require.NoError(t, err, "Failed to create vertx instance")
Expand Down

0 comments on commit 468a8aa

Please sign in to comment.