Skip to content

Commit c16ebf8

Browse files
fix: increase mock server startup timeout
- increases wait iterations from 50 to 200 for more reliability
1 parent 506f085 commit c16ebf8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deepsource/tests/init_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func startMockAPIServer() {
3838
}()
3939

4040
// Wait for server to be ready
41-
for i := 0; i < 50; i++ {
41+
for i := 0; i < 200; i++ {
4242
conn, err := net.Dial("tcp", "localhost:8081")
4343
if err == nil {
4444
conn.Close()

0 commit comments

Comments
 (0)