mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
gotosocial: skip more flakey tests
golang 1.21.8 introduced some minor test suite breakages in gotosocial. Skip these tests for now. See: https://github.com/superseriousbusiness/gotosocial/pull/2760
This commit is contained in:
parent
f3f1228b44
commit
e5b3215afd
|
@ -43,8 +43,18 @@ buildGoModule rec {
|
||||||
# tests are working only on x86_64-linux
|
# tests are working only on x86_64-linux
|
||||||
doCheck = stdenv.isLinux && stdenv.isx86_64;
|
doCheck = stdenv.isLinux && stdenv.isx86_64;
|
||||||
|
|
||||||
# flaky test
|
checkFlags =
|
||||||
checkFlags = [ "-skip=^TestPage/minID,_maxID_and_limit_set$" ];
|
let
|
||||||
|
# flaky / broken tests
|
||||||
|
skippedTests = [
|
||||||
|
# See: https://github.com/superseriousbusiness/gotosocial/issues/2651
|
||||||
|
"TestPage/minID,_maxID_and_limit_set"
|
||||||
|
# See: https://github.com/superseriousbusiness/gotosocial/pull/2760. Stop skipping
|
||||||
|
# this test when fixed for go 1.21.8 and above
|
||||||
|
"TestValidationTestSuite/TestValidateEmail"
|
||||||
|
];
|
||||||
|
in
|
||||||
|
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
|
||||||
|
|
||||||
passthru.tests.gotosocial = nixosTests.gotosocial;
|
passthru.tests.gotosocial = nixosTests.gotosocial;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue