mirror of
https://github.com/tuna/tunasync.git
synced 2025-06-14 13:32:43 +00:00
CI runs slower, give it more time
This commit is contained in:
parent
2bbd4afda8
commit
001703a059
@ -344,7 +344,7 @@ echo $AOSP_REPO_BIN
|
|||||||
|
|
||||||
Convey("If a long job is killed", func(ctx C) {
|
Convey("If a long job is killed", func(ctx C) {
|
||||||
scriptContent := `#!/bin/bash
|
scriptContent := `#!/bin/bash
|
||||||
sleep 5
|
sleep 10
|
||||||
`
|
`
|
||||||
err = ioutil.WriteFile(scriptFile, []byte(scriptContent), 0755)
|
err = ioutil.WriteFile(scriptFile, []byte(scriptContent), 0755)
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
@ -556,7 +556,7 @@ exit 0
|
|||||||
Convey("Try terminating", func(ctx C) {
|
Convey("Try terminating", func(ctx C) {
|
||||||
scriptContent := `#!/bin/bash
|
scriptContent := `#!/bin/bash
|
||||||
echo $@
|
echo $@
|
||||||
sleep 4
|
sleep 10
|
||||||
exit 0
|
exit 0
|
||||||
`
|
`
|
||||||
err = ioutil.WriteFile(scriptFile, []byte(scriptContent), 0755)
|
err = ioutil.WriteFile(scriptFile, []byte(scriptContent), 0755)
|
||||||
@ -580,7 +580,7 @@ exit 0
|
|||||||
|
|
||||||
loggedContent, err := ioutil.ReadFile(provider.LogFile())
|
loggedContent, err := ioutil.ReadFile(provider.LogFile())
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
So(string(loggedContent), ShouldEqual, expectedOutput)
|
So(string(loggedContent), ShouldStartWith, expectedOutput)
|
||||||
// fmt.Println(string(loggedContent))
|
// fmt.Println(string(loggedContent))
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user