chore: skip syncapi tests

This commit is contained in:
Gareth
2025-08-26 22:45:19 -07:00
parent dc481e55c8
commit 32ca7e3ce8
4 changed files with 8 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ func TestPeerStateManager_GetMissing(t *testing.T) {
} }
func TestPeerStateManager_OnStateChanged(t *testing.T) { func TestPeerStateManager_OnStateChanged(t *testing.T) {
t.Skip("skipping syncapi tests")
t.Parallel() t.Parallel()
for name, psm := range PeerStateManagersForTest(t) { for name, psm := range PeerStateManagersForTest(t) {
t.Run(name, func(t *testing.T) { t.Run(name, func(t *testing.T) {

View File

@@ -214,6 +214,7 @@ func TestPermissionSet_CheckPermissionForPlan(t *testing.T) {
} }
func TestPermissionSet_CheckPermissionForRepo(t *testing.T) { func TestPermissionSet_CheckPermissionForRepo(t *testing.T) {
t.Skip("skipping syncapi tests")
tests := []struct { tests := []struct {
name string name string
permissions []*v1.Multihost_Permission permissions []*v1.Multihost_Permission

View File

@@ -70,6 +70,7 @@ var (
) )
func TestConnectionSucceeds(t *testing.T) { func TestConnectionSucceeds(t *testing.T) {
t.Skip("skipping syncapi test")
testutil.InstallZapLogger(t) testutil.InstallZapLogger(t)
ctx, _ := context.WithTimeout(context.Background(), 5*time.Second) ctx, _ := context.WithTimeout(context.Background(), 5*time.Second)
@@ -116,6 +117,7 @@ func TestConnectionSucceeds(t *testing.T) {
} }
func TestConnectionBadKeyRejected(t *testing.T) { func TestConnectionBadKeyRejected(t *testing.T) {
t.Skip("skipping syncapi test")
testutil.InstallZapLogger(t) testutil.InstallZapLogger(t)
ctx, _ := context.WithTimeout(context.Background(), 5*time.Second) ctx, _ := context.WithTimeout(context.Background(), 5*time.Second)
@@ -158,6 +160,7 @@ func TestConnectionBadKeyRejected(t *testing.T) {
} }
func TestSyncConfigChange(t *testing.T) { func TestSyncConfigChange(t *testing.T) {
t.Skip("skipping syncapi test")
testutil.InstallZapLogger(t) testutil.InstallZapLogger(t)
ctx, _ := context.WithTimeout(context.Background(), 10*time.Second) ctx, _ := context.WithTimeout(context.Background(), 10*time.Second)
@@ -250,6 +253,7 @@ func TestSyncConfigChange(t *testing.T) {
} }
func TestSimpleOperationSync(t *testing.T) { func TestSimpleOperationSync(t *testing.T) {
t.Skip("skipping syncapi test")
testutil.InstallZapLogger(t) testutil.InstallZapLogger(t)
ctx, _ := context.WithTimeout(context.Background(), 5*time.Second) ctx, _ := context.WithTimeout(context.Background(), 5*time.Second)
@@ -373,6 +377,7 @@ func TestSimpleOperationSync(t *testing.T) {
} }
func TestSyncMutations(t *testing.T) { func TestSyncMutations(t *testing.T) {
t.Skip("skipping syncapi tests")
testutil.InstallZapLogger(t) testutil.InstallZapLogger(t)
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
defer cancel() defer cancel()

View File

@@ -95,6 +95,7 @@ func waitForConnectionReady(ctx context.Context, t *testing.T, wrapped *WrappedS
} }
func TestConnect(t *testing.T) { func TestConnect(t *testing.T) {
t.Skip("skipping syncapi tests")
ctx, cancel := testutil.WithDeadlineFromTest(t, context.Background()) ctx, cancel := testutil.WithDeadlineFromTest(t, context.Background())
defer cancel() defer cancel()