Skip to content

Commit

Permalink
removed entry for receive test for e2e
Browse files Browse the repository at this point in the history
Signed-off-by: Yash Sharma <[email protected]>
  • Loading branch information
yashrsharma44 committed Mar 2, 2021
1 parent 6383c12 commit 4361243
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 21 deletions.
14 changes: 6 additions & 8 deletions test/e2e/e2ethanos/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,14 +279,12 @@ func NewReceiveRouter(sharedDir string, networkName string, name string, replica
DefaultImage(),
// TODO(bwplotka): BuildArgs should be interface.
e2e.NewCommand("receive-route", e2e.BuildArgs(map[string]string{
"--debug.name": fmt.Sprintf("receive-route-%v", name),
"--http-address": ":8080",
"--remote-write.address": ":8081",
"--label": fmt.Sprintf(`receive="%s"`, name),
"--tsdb.path": filepath.Join(container, "data"),
"--log.level": infoLogLevel,
"--receive.replication-factor": strconv.Itoa(replicationFactor),
"--receive.hashrings-file": filepath.Join(container, "hashrings.json"),
"--debug.name": fmt.Sprintf("receive-route-%v", name),
"--http-address": ":8080",
"--remote-write.address": ":8081",
"--log.level": infoLogLevel,
"--receive.replication-factor": strconv.Itoa(replicationFactor),
"--receive.hashrings-file": filepath.Join(container, "hashrings.json"),
"--receive.hashrings-file-refresh-interval": "5s",
})...),
e2e.NewHTTPReadinessProbe(8080, "/-/ready", 200, 200),
Expand Down
13 changes: 0 additions & 13 deletions test/e2e/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,6 @@ func TestQuery(t *testing.T) {
"prometheus": "prom-alone",
"replica": "0",
},
{
"job": "myself",
"prometheus": "prom-both-remote-write-and-sidecar",
"receive": "1",
"replica": "1234",
"tenant_id": "default-tenant",
},
{
"job": "myself",
"prometheus": "prom-both-remote-write-and-sidecar",
Expand All @@ -157,12 +150,6 @@ func TestQuery(t *testing.T) {
"job": "myself",
"prometheus": "prom-alone",
},
{
"job": "myself",
"prometheus": "prom-both-remote-write-and-sidecar",
"receive": "1",
"tenant_id": "default-tenant",
},
{
"job": "myself",
"prometheus": "prom-both-remote-write-and-sidecar",
Expand Down

0 comments on commit 4361243

Please sign in to comment.