summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJaka Hudoklin <offlinehacker@users.noreply.github.com>2020-07-24 20:15:29 +0200
committerGitHub <noreply@github.com>2020-07-24 20:15:29 +0200
commitfea9351d815894b6e60ef17d199bb14f04ffce3b (patch)
tree693c2e9a5ee7519ac4f71e2a6f8d3dc7ad7b9df7 /nixos
parent0c075ce453d642c9c2aae78f4954f30840c0251f (diff)
parentdbd0f3e957e6327c736ae030d763368efb1c5254 (diff)
downloadnixpkgs-fea9351d815894b6e60ef17d199bb14f04ffce3b.tar
nixpkgs-fea9351d815894b6e60ef17d199bb14f04ffce3b.tar.gz
nixpkgs-fea9351d815894b6e60ef17d199bb14f04ffce3b.tar.bz2
nixpkgs-fea9351d815894b6e60ef17d199bb14f04ffce3b.tar.lz
nixpkgs-fea9351d815894b6e60ef17d199bb14f04ffce3b.tar.xz
nixpkgs-fea9351d815894b6e60ef17d199bb14f04ffce3b.tar.zst
nixpkgs-fea9351d815894b6e60ef17d199bb14f04ffce3b.zip
Merge pull request #92719 from pjjw/update/mongodb-42
mongodb: 4.0.12 -> 4.2.8
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/mongodb.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/tests/mongodb.nix b/nixos/tests/mongodb.nix
index a637ec4bfc0..453fb569e8c 100644
--- a/nixos/tests/mongodb.nix
+++ b/nixos/tests/mongodb.nix
@@ -15,7 +15,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
       node.wait_for_open_port(27017)
 
       assert "hello" in node.succeed(
-          "mongo ${testQuery}"
+          "${pkg}/bin/mongo ${testQuery}"
       )
 
       node.execute(
@@ -36,6 +36,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
           mongodb-3_4
           mongodb-3_6
           mongodb-4_0
+          mongodb-4_2
         ];
       };
     };
@@ -46,6 +47,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
       + runMongoDBTest pkgs.mongodb-3_4
       + runMongoDBTest pkgs.mongodb-3_6 
       + runMongoDBTest pkgs.mongodb-4_0
+      + runMongoDBTest pkgs.mongodb-4_2
       + ''
         node.shutdown()
       '';