@cryptotaxi247 / kubo / commits / af2edd12e

tests: enable filestore

This commit was moved from ipfs/go-ipfs-http-client@904e8eeeb1b677d458c819122d91264040120d3b

Łukasz Magiera committed Feb 4, 2019 at 19:43 UTC af2edd12eb44f477ef2e0dc22ae31a75df645b9f
1 file changed +5
client/httpapi/api_test.go
+5
@@ -47,6 +47,11 @@ func (NodeProvider) MakeAPISwarm(ctx context.Context, fullIdentity bool, n int)
47 return nil, err
48 }
49
50 + filestoreArgs := []string{"iptb", "--IPTB_ROOT", dir, "run", fmt.Sprintf("[0-%d]", n-1), "--", "ipfs", "config", "--json", "Experimental.FilestoreEnabled", "true"}
51 + if err := c.Run(filestoreArgs); err != nil {
52 + return nil, err
53 + }
54 +
55 startArgs := []string{"iptb", "--IPTB_ROOT", dir, "start", "-wait", "--", "--enable-pubsub-experiment", "--offline=" + strconv.FormatBool(n == 1)}
56 if err := c.Run(startArgs); err != nil {
57 return nil, err