From cd50aaf5273237ae9840e5961336c90f1b3167fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Am=C3=A9lia=20Liao?= Date: Wed, 9 Feb 2022 16:54:54 -0300 Subject: [PATCH] fixup: make tests work offline --- default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/default.nix b/default.nix index 3b2c0af..ed4df41 100644 --- a/default.nix +++ b/default.nix @@ -10,8 +10,8 @@ let ipfs = import (pkgs.fetchFromGitHub { owner = "obsidiansystems"; repo = "go-ipfs-swh-plugin"; - rev = "873e629ca345463a9b7aa80d53420593dbe9bdb2"; - sha256 = "1knhqiyxjx7pnc41pl2qngfjhdgcgp7d1k58gbjwaab2bljh6dd7"; + rev = "cbd4a77f1da434e5ec08c1eb95fffeb8f1e1706c"; + sha256 = "0bpm8yfqivcglv94v4baav80078qf843nih37cs5f0fgm805wd1g"; }) { inherit pkgs; }; # CID representing the SWHID @@ -47,11 +47,6 @@ in import sys machine.wait_for_unit('ipfs') - print(machine.wait_until_succeeds('ipfs swarm peers | grep ip4')) - - machine.succeed( - 'ipfs --api /ip4/127.0.0.1/tcp/2324 dag get "${known_good_cid}"' - ) # The SWHID plugin is loaded machine.succeed(