Skip to content

Commit

Permalink
Increase the test time from 5 sec to 10 secs
Browse files Browse the repository at this point in the history
Signed-off-by: parauliya <[email protected]>
  • Loading branch information
parauliya committed Aug 21, 2020
1 parent f430fb7 commit 121fe4e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions test/_vagrant/vagrant_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func TestVagrantSetupGuide(t *testing.T) {
}
time.Sleep(10 * time.Second)
}
t.Fatal("Workflow never got to a complite state or it didn't make it on time (10m)")
t.Fatal("Workflow never got to a complete state or it didn't make it on time (10m)")
}
func TestOneTimeoutWorkflow(t *testing.T) {
ctx := context.Background()
Expand Down Expand Up @@ -263,9 +263,9 @@ func TestOneTimeoutWorkflow(t *testing.T) {
return
}
}
time.Sleep(5 * time.Second)
time.Sleep(10 * time.Second)
}
t.Fatal("Workflow never got to a complite state or it didn't make it on time (5m)")
t.Fatal("Workflow never got to a complete state or it didn't make it on time (10m)")
}

func TestOneFailedWorkflow(t *testing.T) {
Expand Down Expand Up @@ -397,9 +397,9 @@ func TestOneFailedWorkflow(t *testing.T) {
return
}
}
time.Sleep(5 * time.Second)
time.Sleep(10 * time.Second)
}
t.Fatal("Workflow never got to a complite state or it didn't make it on time (5m)")
t.Fatal("Workflow never got to a complete state or it didn't make it on time (10m)")
}

func TestTwoSuccessfulWorkflows(t *testing.T) {
Expand Down Expand Up @@ -550,9 +550,9 @@ func TestTwoSuccessfulWorkflows(t *testing.T) {
return
}
}
time.Sleep(5 * time.Second)
time.Sleep(10 * time.Second)
}
t.Fatal("Workflow never got to a complite state or it didn't make it on time (5m)")
t.Fatal("Workflow never got to a complete state or it didn't make it on time (10m)")
}

func TestOneFailedAndOneSuccessWorkflow(t *testing.T) {
Expand Down Expand Up @@ -693,9 +693,9 @@ func TestOneFailedAndOneSuccessWorkflow(t *testing.T) {
return
}
}
time.Sleep(5 * time.Second)
time.Sleep(10 * time.Second)
}
t.Fatal("Workflow never got to a complite state or it didn't make it on time (5m)")
t.Fatal("Workflow never got to a complete state or it didn't make it on time (10m)")
}

func TestOneTimeoutAndOneSuccessWorkflow(t *testing.T) {
Expand Down Expand Up @@ -836,9 +836,9 @@ func TestOneTimeoutAndOneSuccessWorkflow(t *testing.T) {
return
}
}
time.Sleep(5 * time.Second)
time.Sleep(10 * time.Second)
}
t.Fatal("Workflow never got to a complite state or it didn't make it on time (5m)")
t.Fatal("Workflow never got to a complete state or it didn't make it on time (10m)")
}

func createWorkflow(ctx context.Context, templateID string) (string, error) {
Expand Down

0 comments on commit 121fe4e

Please sign in to comment.