regexp2
regexp2 copied to clipboard
TestDeadline fails with go 1.21.3
command: go test -buildmode pie -compiler gc -ldflags " -X github.com/dlclark/regexp2/version=1.10.0 -extldflags '-Wl,-z,relro -Wl,--as-needed
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redh
at/redhat-package-notes '"
testing: github.com/dlclark/regexp2
github.com/dlclark/regexp2
--- FAIL: TestDeadline (0.00s)
--- FAIL: TestDeadline/1ms (0.00s)
fastclock_test.go:31: deadline (1ms) expired too soon (after 1.067327ms)
FAIL
exit status 1
FAIL github.com/dlclark/regexp2 1.651s