Skip to content

Commit 3bdcef9

Browse files
authored
fix(mssql): reduce flakiness in tests (#3084)
* fix: reduce flakiness in MSSQL tests * docs: document the variable
1 parent 807c602 commit 3bdcef9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/mssql/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
include ../../commons-test.mk
22

3+
# Enforce x509negativeserial=1. This is required in case the tests
4+
# use certificates with negative serial numbers.
5+
# Go 1.23+ rejects these certificates without this flag.
6+
# Cf https://pkg.go.dev/crypto/x509#ParseCertificate
7+
export GODEBUG=x509negativeserial=1
8+
39
.PHONY: test
410
test:
511
$(MAKE) test-mssql

0 commit comments

Comments
 (0)