Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
test: Increase main startup timeout to 2 seconds
Browse files Browse the repository at this point in the history
The unit-test build in ubuntu fails with timeout error, where as it passes in macOS build. Increased the server timeout check to 2seconds from 1seconds.

Signed-off-by: Rolson Quadras <[email protected]>
  • Loading branch information
rolsonquadras authored and Filip Burlacu committed Sep 25, 2019
1 parent d6946d7 commit 013abb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/aries-agentd/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ func TestStartAriesD(t *testing.T) {

go main()
// give some time for server to start
if err := listenFor(testURL, time.Second); err != nil {
if err := listenFor(testURL, 2*time.Second); err != nil {
t.Fatal(err)
}
if err := listenFor(testInboundURL, time.Second); err != nil {
if err := listenFor(testInboundURL, 2*time.Second); err != nil {
t.Fatal(err)
}

Expand Down

0 comments on commit 013abb8

Please sign in to comment.