Skip to content

Commit

Permalink
another attempt
Browse files Browse the repository at this point in the history
Signed-off-by: Parthvi Vala <[email protected]>
  • Loading branch information
valaparthvi committed Jun 29, 2023
1 parent 0200fc4 commit 7f6e536
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/helper/helper_interactive.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func PressKey(ctx InteractiveContext, c byte) {
}

func ExpectString(ctx InteractiveContext, line string) {
res, err := ctx.cp.Expect(line, 120*time.Second)
res, err := ctx.cp.Expect(line, 180*time.Second)
fmt.Fprint(ctx.buffer, res)
Expect(err).ShouldNot(HaveOccurred(), expectDescriptionSupplier(ctx, line))
}
6 changes: 3 additions & 3 deletions tests/integration/interactive_init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ var _ = Describe("odo init interactive command tests", func() {
helper.SendLine(ctx, "Delete environment variable \"DEBUG_PORT\"")

helper.ExpectString(ctx, "What configuration do you want change")
helper.SendLine(ctx, "Add new environment variable")
helper.ExpectString(ctx, "Enter new environment variable name:")
helper.SendLine(ctx, "Add new environment")
helper.ExpectString(ctx, "Enter new")
helper.SendLine(ctx, "DEBUG_PORT")
helper.ExpectString(ctx, "Enter value for \"DEBUG_PORT\" environment variable:")
helper.ExpectString(ctx, "Enter value for \"DEBUG_PORT\" environment variable")
helper.SendLine(ctx, "5858")

helper.ExpectString(ctx, "What configuration do you want change")
Expand Down

0 comments on commit 7f6e536

Please sign in to comment.