mirror of
https://github.com/garethgeorge/backrest.git
synced 2025-12-15 18:15:37 +00:00
chore: skip syncapi tests
This commit is contained in:
@@ -61,6 +61,7 @@ func TestPeerStateManager_GetMissing(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestPeerStateManager_OnStateChanged(t *testing.T) {
|
||||
t.Skip("skipping syncapi tests")
|
||||
t.Parallel()
|
||||
for name, psm := range PeerStateManagersForTest(t) {
|
||||
t.Run(name, func(t *testing.T) {
|
||||
|
||||
@@ -214,6 +214,7 @@ func TestPermissionSet_CheckPermissionForPlan(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestPermissionSet_CheckPermissionForRepo(t *testing.T) {
|
||||
t.Skip("skipping syncapi tests")
|
||||
tests := []struct {
|
||||
name string
|
||||
permissions []*v1.Multihost_Permission
|
||||
|
||||
@@ -70,6 +70,7 @@ var (
|
||||
)
|
||||
|
||||
func TestConnectionSucceeds(t *testing.T) {
|
||||
t.Skip("skipping syncapi test")
|
||||
testutil.InstallZapLogger(t)
|
||||
ctx, _ := context.WithTimeout(context.Background(), 5*time.Second)
|
||||
|
||||
@@ -116,6 +117,7 @@ func TestConnectionSucceeds(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestConnectionBadKeyRejected(t *testing.T) {
|
||||
t.Skip("skipping syncapi test")
|
||||
testutil.InstallZapLogger(t)
|
||||
ctx, _ := context.WithTimeout(context.Background(), 5*time.Second)
|
||||
|
||||
@@ -158,6 +160,7 @@ func TestConnectionBadKeyRejected(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestSyncConfigChange(t *testing.T) {
|
||||
t.Skip("skipping syncapi test")
|
||||
testutil.InstallZapLogger(t)
|
||||
ctx, _ := context.WithTimeout(context.Background(), 10*time.Second)
|
||||
|
||||
@@ -250,6 +253,7 @@ func TestSyncConfigChange(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestSimpleOperationSync(t *testing.T) {
|
||||
t.Skip("skipping syncapi test")
|
||||
testutil.InstallZapLogger(t)
|
||||
ctx, _ := context.WithTimeout(context.Background(), 5*time.Second)
|
||||
|
||||
@@ -373,6 +377,7 @@ func TestSimpleOperationSync(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestSyncMutations(t *testing.T) {
|
||||
t.Skip("skipping syncapi tests")
|
||||
testutil.InstallZapLogger(t)
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
|
||||
defer cancel()
|
||||
|
||||
@@ -95,6 +95,7 @@ func waitForConnectionReady(ctx context.Context, t *testing.T, wrapped *WrappedS
|
||||
}
|
||||
|
||||
func TestConnect(t *testing.T) {
|
||||
t.Skip("skipping syncapi tests")
|
||||
ctx, cancel := testutil.WithDeadlineFromTest(t, context.Background())
|
||||
defer cancel()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user