Skip to content

Commit 25931bd

Browse files
committed
Increase test timeout
1 parent 0c19d39 commit 25931bd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"CGO_CFLAGS": "-I${workspaceFolder}/vendor/nim-codex/library",
55
"CGO_LDFLAGS": "-L${workspaceFolder}/vendor/nim-codex/build -lcodex -Wl,-rpath,${workspaceFolder}/vendor/nim-codex/build",
66
"LD_LIBRARY_PATH": "${workspaceFolder}/vendor/nim-codex/build:${env:LD_LIBRARY_PATH}"
7-
}
7+
},
8+
"go.testTimeout": "2m"
89
}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ build:
2929

3030
test:
3131
@echo "Running tests..."
32-
CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go test ./...
32+
CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" GOTESTFLAGS="-timeout=2m" go test ./...
3333

3434
clean:
3535
@echo "Cleaning up..."

0 commit comments

Comments
 (0)