Skip to content

Commit

Permalink
fix: updating old test URLs and references so tests can work
Browse files Browse the repository at this point in the history
  • Loading branch information
WendelHime committed Jul 22, 2024
1 parent c5f6958 commit 4b8fdd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions direct_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion test_support.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 4b8fdd6

Please sign in to comment.