mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-27 09:35:09 +00:00
Add startup test for legacy rabbitmq setup
This commit is contained in:
+9
-2
@@ -122,16 +122,23 @@ pkgs.stdenv.mkDerivation {
|
||||
|
||||
passthru.tests = pkgs.runCommand "spacebar-server-ts-all-tests" rec {
|
||||
bundleStarts = pkgs.testers.runNixOSTest (import ./nix/tests/test-bundle-starts.nix { inherit self; });
|
||||
bundleStartsRabbitMq = pkgs.testers.runNixOSTest (
|
||||
bundleStartsRabbitMqSingle = pkgs.testers.runNixOSTest (
|
||||
import ./nix/tests/test-bundle-starts.nix {
|
||||
inherit self;
|
||||
withIpc = "rabbitmq-single";
|
||||
}
|
||||
);
|
||||
bundleStartsRabbitMqLegacy = pkgs.testers.runNixOSTest (
|
||||
import ./nix/tests/test-bundle-starts.nix {
|
||||
inherit self;
|
||||
withIpc = "rabbitmq-legacy";
|
||||
}
|
||||
);
|
||||
|
||||
nativeBuildInputs = [
|
||||
bundleStarts
|
||||
bundleStartsRabbitMq
|
||||
bundleStartsRabbitMqSingle
|
||||
bundleStartsRabbitMqLegacy
|
||||
];
|
||||
} "touch $out";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user