mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
CI: add slow regression tests (#4646)
Signed-off-by: adi_holden <adi@dragonflydb.io>
This commit is contained in:
parent
fff49e0e1f
commit
7c2051ef71
4 changed files with 6 additions and 4 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -210,7 +210,9 @@ jobs:
|
|||
dfly-executable: dragonfly
|
||||
run-only-on-ubuntu-latest: true
|
||||
build-folder-name: build
|
||||
filter: ${{ matrix.build-type == 'Release' && '(not slow) and (not dbg_only)' || '(not slow) and (not opt_only)' }}
|
||||
# Non-release build will not run tests marked as slow or opt_only
|
||||
# "not empty" string is needed for release build because pytest command can not get empty string for filter
|
||||
filter: ${{ matrix.build-type == 'Release' && 'not empty' || '(not slow) and (not opt_only)' }}
|
||||
|
||||
- name: Upload regression logs on failure
|
||||
if: failure()
|
||||
|
|
2
.github/workflows/epoll-regression-tests.yml
vendored
2
.github/workflows/epoll-regression-tests.yml
vendored
|
@ -51,7 +51,7 @@ jobs:
|
|||
dfly-executable: dragonfly
|
||||
gspace-secret: ${{ secrets.GSPACES_BOT_DF_BUILD }}
|
||||
build-folder-name: build
|
||||
filter: ${{ matrix.build-type == 'Release' && 'not dbg_only' || 'not opt_only' }}
|
||||
filter: ${{ matrix.build-type == 'Release' && 'not empty' || 'not opt_only' }}
|
||||
aws-access-key-id: ${{ secrets.AWS_S3_ACCESS_KEY }}
|
||||
aws-secret-access-key: ${{ secrets.AWS_S3_ACCESS_SECRET }}
|
||||
s3-bucket: ${{ secrets.S3_REGTEST_BUCKET }}
|
||||
|
|
2
.github/workflows/regression-tests.yml
vendored
2
.github/workflows/regression-tests.yml
vendored
|
@ -51,7 +51,7 @@ jobs:
|
|||
dfly-executable: dragonfly
|
||||
gspace-secret: ${{ secrets.GSPACES_BOT_DF_BUILD }}
|
||||
build-folder-name: build
|
||||
filter: ${{ matrix.build-type == 'Release' && 'not dbg_only' || 'not opt_only' }}
|
||||
filter: ${{ matrix.build-type == 'Release' && 'not empty' || 'not opt_only' }}
|
||||
aws-access-key-id: ${{ secrets.AWS_S3_ACCESS_KEY }}
|
||||
aws-secret-access-key: ${{ secrets.AWS_S3_ACCESS_SECRET }}
|
||||
s3-bucket: ${{ secrets.S3_REGTEST_BUCKET }}
|
||||
|
|
|
@ -93,7 +93,7 @@ GenericError Replica::Start() {
|
|||
|
||||
auto check_connection_error = [this](error_code ec, const char* msg) -> GenericError {
|
||||
if (!cntx_.IsRunning()) {
|
||||
return {std::make_error_code(errc::operation_canceled), "replication cancelled"};
|
||||
return {"replication cancelled"};
|
||||
}
|
||||
if (ec) {
|
||||
cntx_.ReportCancelError();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue