forked from thanos-io/thanos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
e2e: Moved to Cortex e2e test and GithubActions. (thanos-io#2138)
* e2e: Moved to Cortex e2e test and GithubActions. It's docker based now, and should be less flaky. Fixes: thanos-io#2046 Fixes: thanos-io#2045 Partially: thanos-io#1704 Learnings: * Receiver is like extremely with default backoff retry of Prometheus remote write (100ms-300ms). This is way to extreme. Either we need to increase client backoff or return status code that will stop retry for certain errors (e.g misconfiguration). * When block is removed we still fill cache with old entries from it. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com> * e2e: Moved to Cortex e2e test and GithubActions. It's docker based now, and should be less flaky. Fixes: thanos-io#2046 Fixes: thanos-io#2045 Partially: thanos-io#1704 Learnings: * Receiver is like extremely with default backoff retry of Prometheus remote write (100ms-300ms). This is way to extreme. Either we need to increase client backoff or return status code that will stop retry for certain errors (e.g misconfiguration). * When block is removed we still fill cache with old entries from it. Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
- Loading branch information
Showing
20 changed files
with
1,371 additions
and
1,802 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: e2e | ||
on: [pull_request] | ||
|
||
jobs: | ||
e2e: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Go. | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.13.6 | ||
|
||
- name: Check out code into the Go module directory. | ||
uses: actions/checkout@v2 | ||
|
||
- uses: actions/cache@v1 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
|
||
- name: Run e2e docker-based tests. | ||
run: make test-e2e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.