fixup: make tests work offline
This commit is contained in:
parent
565ebdc88a
commit
cd50aaf527
@ -10,8 +10,8 @@ let
|
|||||||
ipfs = import (pkgs.fetchFromGitHub {
|
ipfs = import (pkgs.fetchFromGitHub {
|
||||||
owner = "obsidiansystems";
|
owner = "obsidiansystems";
|
||||||
repo = "go-ipfs-swh-plugin";
|
repo = "go-ipfs-swh-plugin";
|
||||||
rev = "873e629ca345463a9b7aa80d53420593dbe9bdb2";
|
rev = "cbd4a77f1da434e5ec08c1eb95fffeb8f1e1706c";
|
||||||
sha256 = "1knhqiyxjx7pnc41pl2qngfjhdgcgp7d1k58gbjwaab2bljh6dd7";
|
sha256 = "0bpm8yfqivcglv94v4baav80078qf843nih37cs5f0fgm805wd1g";
|
||||||
}) { inherit pkgs; };
|
}) { inherit pkgs; };
|
||||||
|
|
||||||
# CID representing the SWHID
|
# CID representing the SWHID
|
||||||
@ -47,11 +47,6 @@ in
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
machine.wait_for_unit('ipfs')
|
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
|
# The SWHID plugin is loaded
|
||||||
machine.succeed(
|
machine.succeed(
|
||||||
|
Loading…
Reference in New Issue
Block a user