Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix build
Browse files Browse the repository at this point in the history
mustard-mh committed Nov 13, 2023
1 parent 702225f commit dce1267
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/installer/pkg/common/common_test.go
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ func TestPublicApiServerComponentWaiterContainer(t *testing.T) {
container := common.PublicApiServerComponentWaiterContainer(ctx)
labels := common.DefaultLabelSelector(common.PublicApiComponent)
require.Equal(t, labels, "app=gitpod,component=public-api-server")
ideMetricsHost := common.IDEMetricsComponent + ":" + strconv.Itoa(common.IDEMetricsPort)
ideMetricsHost := "http://" + common.IDEMetricsComponent + ":" + strconv.Itoa(common.IDEMetricsPort)
require.Equal(t, []string{"-v", "component", "--ide-metrics-host", ideMetricsHost, "--namespace", "test_namespace", "--component", common.PublicApiComponent, "--labels", labels, "--image", ctx.Config.Repository + "/public-api-server:" + "happy_path_papi_image"}, container.Args)
}

@@ -73,6 +73,6 @@ func TestServerComponentWaiterContainer(t *testing.T) {
container := common.ServerComponentWaiterContainer(ctx)
labels := common.DefaultLabelSelector(common.ServerComponent)
require.Equal(t, labels, "app=gitpod,component=server")
ideMetricsHost := common.IDEMetricsComponent + ":" + strconv.Itoa(common.IDEMetricsPort)
ideMetricsHost := "http://" + common.IDEMetricsComponent + ":" + strconv.Itoa(common.IDEMetricsPort)
require.Equal(t, []string{"-v", "component", "--ide-metrics-host", ideMetricsHost, "--namespace", "test_namespace", "--component", common.ServerComponent, "--labels", labels, "--image", ctx.Config.Repository + "/server:" + "happy_path_server_image"}, container.Args)
}

0 comments on commit dce1267

Please sign in to comment.