diff --git a/fronted_test.go b/fronted_test.go index ab88d3f..575c2f4 100644 --- a/fronted_test.go +++ b/fronted_test.go @@ -236,9 +236,11 @@ func TestHostAliasesBasic(t *testing.T) { certs := x509.NewCertPool() certs.AddCert(cloudSack.Certificate()) - Configure(certs, map[string]*Provider{"cloudsack": p}, "cloudsack", "") - rt, ok := NewFronted(30 * time.Second) + testContext := NewFrontingContext("TestHostAliasesBasic") + testContext.Configure(certs, map[string]*Provider{"cloudsack": p}, "cloudsack", "") + + rt, ok := testContext.NewFronted(30 * time.Second) if !assert.True(t, ok, "failed to obtain direct roundtripper") { return }