mirror of https://github.com/kubevela/kubevela.git
fix CI
This commit is contained in:
parent
dc4071d0bc
commit
9224e8eb47
|
@ -97,10 +97,17 @@ jobs:
|
|||
- name: Run Make Manager
|
||||
run: make manager
|
||||
|
||||
- name: Run e2e tests
|
||||
- name: Prepare for e2e tests
|
||||
run: |
|
||||
make e2e-cleanup
|
||||
make e2e-setup
|
||||
|
||||
- name: Wait for e2e preparation ready
|
||||
run: |
|
||||
timeout 60 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:38081/api/workloads)" != "200" ]]; do sleep 5; done' || false
|
||||
|
||||
- name: Run e2e tests
|
||||
run: |
|
||||
make e2e-api-test
|
||||
make e2e-test
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ func InteractiveExec(cli string, consoleFn func(*expect.Console)) (string, error
|
|||
command.Stdin = console.Tty()
|
||||
|
||||
session, err := gexec.Start(command, console.Tty(), console.Tty())
|
||||
s := session.Wait(90 * time.Second)
|
||||
s := session.Wait(180 * time.Second)
|
||||
console.Tty().Close()
|
||||
<-doneC
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue