-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[file-sd-part-2] Query e2e test uses different service discovery options #554
Conversation
98d95c0
to
4dc205f
Compare
test/e2e/query_test.go
Outdated
}, | ||
} { | ||
//TODO(ivan): delete this | ||
fmt.Printf("Starting TestQuerySimple with service discovery: %v\n", name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if ok := t.Run(t, name, "" ) {
}
test/e2e/query_test.go
Outdated
@@ -17,9 +17,38 @@ import ( | |||
"github.com/prometheus/common/model" | |||
) | |||
|
|||
func TestQuery(t *testing.T) { | |||
for name, conf := range map[string]sdConfig{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pkg/compact/retention_test.go:21
6c9aca9
to
1ff8e29
Compare
4dc205f
to
89afd05
Compare
1ff8e29
to
2105322
Compare
89afd05
to
b07ebc2
Compare
e46e182
to
92a046a
Compare
test/e2e/query_test.go
Outdated
}) | ||
} | ||
} | ||
|
||
// TestQuerySimple runs a setup of Prometheus servers, sidecars, and query nodes and verifies that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit update comment ot new name
92a046a
to
5093da5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
940080a
to
1e77f44
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks legit
1e77f44
to
49718a7
Compare
* Added file sd to rule
Addressed PR comments More pr comments addressed Added logs and metrics when removing dups Removed redundant check Added flag for file sd refresh interval Changed default fileSD interval to 5m make docs [file-sd-part-2] Query e2e test uses different service discovery options (#554) * Query e2e tests different sd options
ref: #492
Changes
The query e2e test now runs 3 times with different service discovery options:
Verification
The tests pass