Skip to content

Commit

Permalink
adapt e2e test to new index-provider Go module
Browse files Browse the repository at this point in the history
Since the git repository and Go module were renamed in
ipni/index-provider#93.
  • Loading branch information
mvdan committed Nov 16, 2021
1 parent 8a0d1af commit fcdfe79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e_test.go
Expand Up @@ -20,7 +20,7 @@ import (
)

// This is a full end-to-end test with storetheindex as the indexer daemon,
// and indexer-reference-provider as a client.
// and index-provider/cmd/provider as a client.
// We build both programs, noting that we always build the latest provider.
// We initialize their setup, start the two daemons, and connect the peers.
// We then import a CAR file and query its CIDs.
Expand Down Expand Up @@ -131,7 +131,7 @@ func TestEndToEndWithReferenceProvider(t *testing.T) {
}

carPath := filepath.Join(e.dir, "sample-wrapped-v2.car")
err := downloadFile("https://github.com/filecoin-project/indexer-reference-provider/raw/main/testdata/sample-wrapped-v2.car", carPath)
err := downloadFile("https://github.com/filecoin-project/index-provider/raw/main/testdata/sample-wrapped-v2.car", carPath)
qt.Assert(t, err, qt.IsNil)

// Use a clean environment, with the host's PATH, and a temporary HOME.
Expand All @@ -155,7 +155,7 @@ func TestEndToEndWithReferenceProvider(t *testing.T) {
e.run("go", "install", ".")

provider := filepath.Join(e.dir, "provider")
e.run("go", "install", "github.com/filecoin-project/indexer-reference-provider/cmd/provider@main")
e.run("go", "install", "github.com/filecoin-project/index-provider/cmd/provider@main")

e.run(provider, "init")
cfg, err := config.Load(filepath.Join(e.dir, ".reference-provider", "config"))
Expand Down

0 comments on commit fcdfe79

Please sign in to comment.