mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-13 06:48:23 +02:00
linter pass
This commit is contained in:
parent
f1d2799a9f
commit
8049ca54d0
13 changed files with 51 additions and 50 deletions
|
@ -24,7 +24,7 @@ func BenchmarkStartupLatency(b *testing.B) {
|
|||
env.AddUpstream(up)
|
||||
|
||||
env.Start()
|
||||
snippets.WaitStartupComplete(b, env, 60*time.Minute)
|
||||
snippets.WaitStartupComplete(env, 60*time.Minute)
|
||||
|
||||
env.Stop()
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ func BenchmarkAppendRoutes(b *testing.B) {
|
|||
env.AddUpstream(up)
|
||||
|
||||
env.Start()
|
||||
snippets.WaitStartupComplete(b, env)
|
||||
snippets.WaitStartupComplete(env)
|
||||
for i := range n {
|
||||
env.Add(up.Route().
|
||||
From(env.SubdomainURL(fmt.Sprintf("from-%d", i))).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue