diff options
author | Blake Smith <blakesmith0@gmail.com> | 2024-03-14 23:55:07 -0500 |
---|---|---|
committer | Yaya <github@uwu.is> | 2024-03-18 11:20:47 +0100 |
commit | e5b3215afdc02a676590789eacd50a5a118e4d03 (patch) | |
tree | 6b35dceda28b6df10c67a52a90e7e563418b8678 /pkgs | |
parent | f3f1228b4407942847b196241a0b871b562fbc56 (diff) |
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
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/gotosocial/default.nix | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/servers/gotosocial/default.nix b/pkgs/servers/gotosocial/default.nix index 0692fc1bff35e..58e916d625f89 100644 --- a/pkgs/servers/gotosocial/default.nix +++ b/pkgs/servers/gotosocial/default.nix @@ -43,8 +43,18 @@ buildGoModule rec { # tests are working only on x86_64-linux doCheck = stdenv.isLinux && stdenv.isx86_64; - # flaky test - checkFlags = [ "-skip=^TestPage/minID,_maxID_and_limit_set$" ]; + checkFlags = + 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; |