Skip to content

Commit 77a032e

Browse files
committed
Sleep between tests to give more time to release port.
1 parent 12afdc1 commit 77a032e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,16 @@ script:
2727
- revel package my/testapp
2828

2929
# Build & run the sample apps
30+
# Sleep between tests to avoid spurious "address already in use" failures.
3031
- revel test github.com/robfig/revel/samples/booking
32+
- sleep 5
3133
- revel test github.com/robfig/revel/samples/chat
34+
- sleep 5
3235
- revel test github.com/robfig/revel/samples/facebook-oauth2
36+
- sleep 5
3337
- revel test github.com/robfig/revel/samples/twitter-oauth
38+
- sleep 5
3439
- revel test github.com/robfig/revel/samples/validation
40+
- sleep 5
3541
- revel test github.com/robfig/revel/samples/chat
3642

0 commit comments

Comments
 (0)