goose: update test skip list with newer tests

fixes #302629

After updating from `3.15.0 -> 3.19.2` build for `goose` was failing.
This was due to the tests failing esp on integration tests which
required the docker darmon to be running.

Tests with similar nature were already skipped, but on the upgraded
version newer integration tests were added. This change adds these
changes to the test skip list aswell.

Skip following tests which require a docker daemon to be running
- TestLockModeAdvisorySession
- TestDialectStore
- TestGoMigrationStats
- TestPostgresSessionLocker

Links:
- Commit adding the new integration tests: b2c483ada4
This commit is contained in:
Hrishikesh Barman 2024-04-15 16:08:20 +05:30
parent a9ab026810
commit 9ba7ce51e2

View File

@ -18,7 +18,7 @@ buildGoModule rec {
proxyVendor = true;
vendorHash = "sha256-aoBxReKRk7dkFR/fJ5uHDZrJRGutLTU2BhDWCTBN2BA=";
# end-to-end tests require a docker daemon
# skipping: end-to-end tests require a docker daemon
postPatch = ''
rm -r tests/e2e
rm -r tests/gomigrations
@ -32,8 +32,10 @@ buildGoModule rec {
];
checkFlags = [
# these also require a docker daemon
"-skip=TestClickUpDown|TestClickHouseFirstThree"
# NOTE:
# - skipping: these also require a docker daemon
# - these are for go tests that live outside of the /tests directory
"-skip=TestClickUpDown|TestClickHouseFirstThree|TestLockModeAdvisorySession|TestDialectStore|TestGoMigrationStats|TestPostgresSessionLocker"
];
doCheck = !stdenv.isDarwin;
@ -46,3 +48,5 @@ buildGoModule rec {
mainProgram = "goose";
};
}