From 4b8fdd6b9b590c81a9b39545df683b1fb310adab Mon Sep 17 00:00:00 2001 From: WendelHime <6754291+WendelHime@users.noreply.github.com> Date: Mon, 22 Jul 2024 12:55:09 -0300 Subject: [PATCH] fix: updating old test URLs and references so tests can work --- direct_test.go | 5 ++--- test_support.go | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/direct_test.go b/direct_test.go index 793f632..cc927bc 100644 --- a/direct_test.go +++ b/direct_test.go @@ -35,10 +35,9 @@ func TestDirectDomainFronting(t *testing.T) { } func doTestDomainFronting(t *testing.T, cacheFile string, expectedMasqueradesAtEnd int) int { - - getURL := "http://config.example.com/proxies.yaml.gz" + getURL := "https://config.example.com/global.yaml.gz" getHost := "config.example.com" - getFrontedHost := "d2wi0vwulmtn99.cloudfront.net" + getFrontedHost := "d24ykmup0867cj.cloudfront.net" pingHost := "ping.example.com" pu, err := url.Parse(pingTestURL) diff --git a/test_support.go b/test_support.go index 122b278..b3e6e5a 100644 --- a/test_support.go +++ b/test_support.go @@ -9,7 +9,7 @@ import ( var ( testProviderID = "cloudfront" - pingTestURL = "http://d157vud77ygy87.cloudfront.net/ping" + pingTestURL = "https://d157vud77ygy87.cloudfront.net/ping" testHosts = map[string]string(nil) testMasquerades = DefaultCloudfrontMasquerades )