From 3baf270e6fec6f150050fb8ffc00e1ac25ae7d1f Mon Sep 17 00:00:00 2001 From: Morgan Jones Date: Sat, 19 Apr 2025 22:53:19 -0700 Subject: [PATCH] mattermost: disable more broken tests --- pkgs/by-name/ma/mattermost/tests.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ma/mattermost/tests.nix b/pkgs/by-name/ma/mattermost/tests.nix index 60cf915ad92f..84452edb54ba 100644 --- a/pkgs/by-name/ma/mattermost/tests.nix +++ b/pkgs/by-name/ma/mattermost/tests.nix @@ -39,9 +39,10 @@ mattermost.overrideAttrs ( + '' # Just echo install/get/mod commands in the Makefile, since the dependencies are locked. substituteInPlace server/Makefile \ - --replace-warn '$(GO) install' '@echo $(GO) install' \ - --replace-warn '$(GO) get' '@echo $(GO) get' \ - --replace-warn '$(GO) get' '@echo $(GO) mod' + --replace-warn '$(GO) install' 'echo $(GO) install' \ + --replace-warn '$(GOBIN)/go$$version download' 'echo $(GOBIN)/go$$version download' \ + --replace-warn '$(GO) get' 'echo $(GO) get' \ + --replace-warn '$(GO) get' 'echo $(GO) mod' # mmctl tests shell out by writing a bash script to a tempfile substituteInPlace server/cmd/mmctl/commands/config_e2e_test.go \ --replace-fail '#!/bin/bash' '#!${runtimeShell}' @@ -142,6 +143,9 @@ mattermost.overrideAttrs ( # Appear to be broken. "TestSessionStore/MySQL/SessionGetWithDeviceId" "TestSessionStore/MySQL/GetMobileSessionMetadata" + "TestSessionStore/MySQL/GetSessionsWithActiveDeviceIds" + "TestUpdateTeam" + "TestSyncSyncableRoles" ] ++ optionals (!stdenv.hostPlatform.isx86_64) [ # aarch64: invalid operating system or processor architecture