mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-28 18:06:34 +02:00
autocert: remove non-determinism (#1932)
* autocert: remove non-determinism * try sorting coverage
This commit is contained in:
parent
9c7958b66f
commit
218acc001b
2 changed files with 2 additions and 1 deletions
1
Makefile
1
Makefile
|
@ -109,6 +109,7 @@ cover: ## Runs go test with coverage
|
|||
@sed -i.bak '/\.pb\.go\:/d' coverage.txt
|
||||
@sed -i.bak '/\/statik\.go\:/d' coverage.txt
|
||||
@sed -i.bak '/\/mock\.go\:/d' coverage.txt
|
||||
@sort -o coverage.txt coverage.txt
|
||||
|
||||
.PHONY: clean
|
||||
clean: ## Cleanup any build binaries or packages.
|
||||
|
|
|
@ -167,7 +167,7 @@ func TestConfig(t *testing.T) {
|
|||
}), certmagic.ACMEManager{
|
||||
CA: srv.URL + "/acme/directory",
|
||||
TestCA: srv.URL + "/acme/directory",
|
||||
}, time.Second)
|
||||
}, time.Millisecond*100)
|
||||
if !assert.NoError(t, err) {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue