Skip to content

Commit

Permalink
Merge pull request #280 from KyleMaas/fix-test-index-fixtures
Browse files Browse the repository at this point in the history
Fix TestIndexFixtures
  • Loading branch information
decentral1se authored Dec 27, 2022
2 parents 32eb11c + f47c072 commit 3ce06b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
5 changes: 0 additions & 5 deletions multilogs/indexspeed_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
librarian "github.com/ssbc/margaret/indexes"
"github.com/ssbc/margaret/multilog"

"github.com/ssbc/go-ssb/internal/testutils"
"github.com/ssbc/go-ssb/repo"
refs "github.com/ssbc/go-ssb-refs"
"github.com/ssbc/go-ssb-refs/tfk"
Expand Down Expand Up @@ -78,10 +77,6 @@ func TestIndexFixtures(t *testing.T) {
r := require.New(t)
a := assert.New(t)

if testutils.SkipOnCI(t) {
return
}

f, err := os.Open("v2-sloop-authors.json")
r.NoError(err)
var feedsSloop tFeedSet
Expand Down
8 changes: 5 additions & 3 deletions multilogs/integration_prep.bash
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ test "$dest" != "" || {
sha256sum -c v2-sloop-m100000-a2000.tar.gz.shasum || {
wget "https://github.com/ssb-ngi-pointer/ssb-fixtures/releases/download/2.3.0/v2-sloop-m100000-a2000.tar.gz"

echo 'rerun me'
exit 0
sha256sum -c v2-sloop-m100000-a2000.tar.gz.shasum || {
echo 'download of ssb-fixtures failed'
exit 1
}
}


Expand All @@ -27,4 +29,4 @@ rm -r testrun
mkdir -p tmp/unpack
tar xf v2-sloop-m100000-a2000.tar.gz -C tmp/unpack

go run go.cryptoscope.co/ssb/cmd/ssb-offset-converter -if lfo tmp/unpack/flume/log.offset $dest
go run ../cmd/ssb-offset-converter -if lfo tmp/unpack/flume/log.offset $dest

0 comments on commit 3ce06b7

Please sign in to comment.