Skip to content

Commit

Permalink
fix: change ams-pg to backend-hel
Browse files Browse the repository at this point in the history
  • Loading branch information
DecFox committed Aug 6, 2024
1 parent 5199059 commit 41b400e
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion internal/engine/inputloader_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func TestTargetLoaderInputOrQueryBackendWithNoInput(t *testing.T) {
}
sess, err := engine.NewSession(context.Background(), engine.SessionConfig{
AvailableProbeServices: []model.OOAPIService{{
Address: "https://ams-pg-test.ooni.org/",
Address: "https://backend-hel.ooni.org/",
Type: "https",
}},
KVStore: &kvstore.Memory{},
Expand Down
8 changes: 4 additions & 4 deletions internal/engine/session_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func TestSessionTorArgsTorBinary(t *testing.T) {
}
sess, err := NewSession(context.Background(), SessionConfig{
AvailableProbeServices: []model.OOAPIService{{
Address: "https://ams-pg-test.ooni.org",
Address: "https://backend-hel.ooni.org",
Type: "https",
}},
Logger: model.DiscardLogger,
Expand Down Expand Up @@ -126,7 +126,7 @@ func TestSessionTorArgsTorBinary(t *testing.T) {
func newSessionForTestingNoLookupsWithProxyURL(t *testing.T, URL *url.URL) *Session {
sess, err := NewSession(context.Background(), SessionConfig{
AvailableProbeServices: []model.OOAPIService{{
Address: "https://ams-pg-test.ooni.org",
Address: "https://backend-hel.ooni.org",
Type: "https",
}},
Logger: model.DiscardLogger,
Expand Down Expand Up @@ -179,7 +179,7 @@ func TestInitOrchestraClientMaybeRegisterError(t *testing.T) {
sess := newSessionForTestingNoLookups(t)
defer sess.Close()
clnt, err := probeservices.NewClient(sess, model.OOAPIService{
Address: "https://ams-pg-test.ooni.org/",
Address: "https://backend-hel.ooni.org/",
Type: "https",
})
if err != nil {
Expand All @@ -204,7 +204,7 @@ func TestInitOrchestraClientMaybeLoginError(t *testing.T) {
sess := newSessionForTestingNoLookups(t)
defer sess.Close()
clnt, err := probeservices.NewClient(sess, model.OOAPIService{
Address: "https://ams-pg-test.ooni.org/",
Address: "https://backend-hel.ooni.org/",
Type: "https",
})
if err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func TestMeasureWithNoAvailableTestHelpers(t *testing.T) {
func newsession(t *testing.T, lookupBackends bool) model.ExperimentSession {
sess, err := engine.NewSession(context.Background(), engine.SessionConfig{
AvailableProbeServices: []model.OOAPIService{{
Address: "https://ams-pg-test.ooni.org",
Address: "https://backend-hel.ooni.org",
Type: "https",
}},
Logger: log.Log,
Expand Down
2 changes: 1 addition & 1 deletion internal/probeservices/checkin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func TestCheckIn(t *testing.T) {
}

client := newclient()
client.BaseURL = "https://ams-pg-test.ooni.org" // use the test infra
client.BaseURL = "https://backend-hel.ooni.org" // use the test infra

ctx := context.Background()

Expand Down
2 changes: 1 addition & 1 deletion internal/probeservices/probeservices_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func newclient() *Client {
MockableLogger: log.Log,
},
model.OOAPIService{
Address: "https://ams-pg-test.ooni.org/",
Address: "https://backend-hel.ooni.org/",
Type: "https",
},
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/oonimkall/session_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func NewSessionForTestingWithAssetsDir(assetsDir string) (*oonimkall.Session, er
return oonimkall.NewSession(&oonimkall.SessionConfig{
AssetsDir: assetsDir,
Logger: log.Log,
ProbeServicesURL: "https://ams-pg-test.ooni.org/",
ProbeServicesURL: "https://backend-hel.ooni.org/",
SoftwareName: "oonimkall-test",
SoftwareVersion: "0.1.0",
StateDir: "../testdata/oonimkall/state",
Expand Down
2 changes: 1 addition & 1 deletion pkg/oonimkall/webconnectivity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func TestWebConnectivityRunnerWithNoError(t *testing.T) {
func TestWebConnectivityRunWithCancelledContext(t *testing.T) {
sess, err := NewSession(&SessionConfig{
AssetsDir: "../testdata/oonimkall/assets",
ProbeServicesURL: "https://ams-pg-test.ooni.org/",
ProbeServicesURL: "https://backend-hel.ooni.org/",
SoftwareName: "oonimkall-test",
SoftwareVersion: "0.1.0",
StateDir: "../testdata/oonimkall/state",
Expand Down

0 comments on commit 41b400e

Please sign in to comment.