mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-23 03:17:43 +08:00
tests: enable filestore
This commit was moved from ipfs/go-ipfs-http-client@904e8eeeb1
This commit is contained in:
parent
c3f2970f8a
commit
af2edd12eb
@ -47,6 +47,11 @@ func (NodeProvider) MakeAPISwarm(ctx context.Context, fullIdentity bool, n int)
|
||||
return nil, err
|
||||
}
|
||||
|
||||
filestoreArgs := []string{"iptb", "--IPTB_ROOT", dir, "run", fmt.Sprintf("[0-%d]", n-1), "--", "ipfs", "config", "--json", "Experimental.FilestoreEnabled", "true"}
|
||||
if err := c.Run(filestoreArgs); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
startArgs := []string{"iptb", "--IPTB_ROOT", dir, "start", "-wait", "--", "--enable-pubsub-experiment", "--offline=" + strconv.FormatBool(n == 1)}
|
||||
if err := c.Run(startArgs); err != nil {
|
||||
return nil, err
|
||||
|
||||
Loading…
Reference in New Issue
Block a user