Skip to content

Commit

Permalink
test: skip TestReplicate & TestStartup
Browse files Browse the repository at this point in the history
  • Loading branch information
decentral1se committed Dec 18, 2022
1 parent a18dd7e commit 6abc063
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 11 deletions.
10 changes: 8 additions & 2 deletions plugins/blobs/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,25 @@ import (
"sync"
"testing"

"github.com/stretchr/testify/require"
"github.com/ssbc/go-muxrpc/v2"
"github.com/ssbc/go-ssb"
kitlog "go.mindeco.de/log"
refs "github.com/ssbc/go-ssb-refs"
"github.com/stretchr/testify/require"
kitlog "go.mindeco.de/log"

"github.com/ssbc/go-ssb/blobstore"
"github.com/ssbc/go-ssb/internal/broadcasts"
"github.com/ssbc/go-ssb/internal/testutils"
"github.com/ssbc/go-ssb/plugins/test"
"github.com/ssbc/go-ssb/repo"
)

func TestReplicate(t *testing.T) {
if testutils.SkipOnCI(t) {
// https://github.com/ssbc/go-ssb/issues/237
return
}

r := require.New(t)

srcRepo, srcPath := test.MakeEmptyPeer(t)
Expand Down
8 changes: 4 additions & 4 deletions sbot/persistence_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ import (
"testing"
"time"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/ssbc/margaret"
refs "github.com/ssbc/go-ssb-refs"
"github.com/ssbc/go-ssb/internal/leakcheck"
"github.com/ssbc/go-ssb/internal/storedrefs"
"github.com/ssbc/go-ssb/internal/testutils"
"github.com/ssbc/margaret"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.mindeco.de/log"
refs "github.com/ssbc/go-ssb-refs"
"golang.org/x/sync/errgroup"
)

Expand Down
17 changes: 12 additions & 5 deletions tests/local_fork_test.go
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
package tests

import (
"testing"
"fmt"
"github.com/ssbc/margaret"
"github.com/ssbc/go-ssb/internal/storedrefs"
"testing"

refs "github.com/ssbc/go-ssb-refs"
"github.com/ssbc/go-ssb/internal/mutil"
"github.com/ssbc/go-ssb/internal/storedrefs"
"github.com/ssbc/go-ssb/internal/testutils"
"github.com/ssbc/go-ssb/sbot"
"github.com/ssbc/margaret"
"github.com/stretchr/testify/assert"
refs "github.com/ssbc/go-ssb-refs"
)

func TestStartup (t *testing.T) {
func TestStartup(t *testing.T) {
if testutils.SkipOnCI(t) {
// https://github.com/ssbc/go-ssb/issues/237
return
}

a := assert.New(t)
var err error
session := newSession(t, nil, nil)
Expand Down

0 comments on commit 6abc063

Please sign in to comment.