diff options
author | 2018-06-01 15:12:49 +0100 | |
---|---|---|
committer | 2018-06-01 15:12:49 +0100 | |
commit | 4f0b36e57e867496ccf89301061284235424eabd (patch) | |
tree | d6830393a24f871254a03c97f9a46efdeb4c43f0 /test/proxy_test.go | |
parent | 0df5eb98fed30e3585681701ee97fe22f7c4b17e (diff) | |
download | coredns-4f0b36e57e867496ccf89301061284235424eabd.tar.gz coredns-4f0b36e57e867496ccf89301061284235424eabd.tar.zst coredns-4f0b36e57e867496ccf89301061284235424eabd.zip |
Extend presubmit to covert test and request (#1846)
Fix the casing *and* fix use of context as we were still referencing
the non-std lib context - no wondering how this could have worked...
Diffstat (limited to 'test/proxy_test.go')
-rw-r--r-- | test/proxy_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/proxy_test.go b/test/proxy_test.go index 90c1e3940..d25ace689 100644 --- a/test/proxy_test.go +++ b/test/proxy_test.go @@ -16,7 +16,7 @@ func TestLookupProxy(t *testing.T) { t.Parallel() name, rm, err := test.TempFile(".", exampleOrg) if err != nil { - t.Fatalf("failed to create zone: %s", err) + t.Fatalf("Failed to create zone: %s", err) } defer rm() @@ -55,7 +55,7 @@ func TestLookupDnsWithForcedTcp(t *testing.T) { t.Parallel() name, rm, err := test.TempFile(".", exampleOrg) if err != nil { - t.Fatalf("failed to create zone: %s", err) + t.Fatalf("Failed to create zone: %s", err) } defer rm() @@ -94,7 +94,7 @@ func BenchmarkProxyLookup(b *testing.B) { t := new(testing.T) name, rm, err := test.TempFile(".", exampleOrg) if err != nil { - t.Fatalf("failed to created zone: %s", err) + t.Fatalf("Failed to created zone: %s", err) } defer rm() @@ -105,12 +105,12 @@ func BenchmarkProxyLookup(b *testing.B) { i, err := CoreDNSServer(corefile) if err != nil { - t.Fatalf("could not get CoreDNS serving instance: %s", err) + t.Fatalf("Could not get CoreDNS serving instance: %s", err) } udp, _ := CoreDNSServerPorts(i, 0) if udp == "" { - t.Fatalf("could not get udp listening port") + t.Fatalf("Could not get udp listening port") } defer i.Stop() |