context propagation: pkg/apiserver (#3272)

* context propagation: apic.Push()

* context propagation: NewServer()

* lint
This commit is contained in:
mmetc 2024-10-09 13:06:03 +02:00 committed by GitHub
parent 40021b6bcf
commit b9bccfa56f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 59 additions and 61 deletions

View file

@ -11,9 +11,8 @@ import (
)
func TestLogin(t *testing.T) {
router, config := NewAPITest(t)
ctx := context.Background()
router, config := NewAPITest(t, ctx)
body := CreateTestMachine(t, router, "")