MM-64687: Racy tests in TestSharedChannelPostMetadataSync (#32144)

Этот коммит содержится в:
catalintomai
2025-06-27 09:11:54 +02:00
коммит произвёл GitHub
родитель 9e7849647c
Коммит 2b8f7743b6
2 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@@ -119,6 +119,7 @@ func TestSharedChannelPostMetadataSync(t *testing.T) {
defer th.TearDown()
t.Run("Post Priority Metadata Self-Referential Sync", func(t *testing.T) {
t.Skip("MM-64687")
var syncedPosts []*model.Post
// Create test HTTP server using self-referential approach
@@ -244,6 +245,7 @@ func TestSharedChannelPostMetadataSync(t *testing.T) {
})
t.Run("Acknowledgement Count Sync Back to Sender", func(t *testing.T) {
t.Skip("MM-64687")
EnsureCleanState(t, th, th.App.Srv().Store())
var syncedPosts []*model.Post
var postIdToSync string
@@ -347,6 +349,7 @@ func TestSharedChannelPostMetadataSync(t *testing.T) {
})
t.Run("Persistent Notifications Self-Referential Sync", func(t *testing.T) {
t.Skip("MM-64687")
EnsureCleanState(t, th, th.App.Srv().Store())
var syncedPosts []*model.Post
@@ -399,6 +402,7 @@ func TestSharedChannelPostMetadataSync(t *testing.T) {
})
t.Run("Cross-Cluster Acknowledgement End-to-End Flow", func(t *testing.T) {
t.Skip("MM-64687")
EnsureCleanState(t, th, th.App.Srv().Store())
var syncedPostsServerA []*model.Post
var syncedPostsServerB []*model.Post

Просмотреть файл

@@ -526,6 +526,7 @@ func TestSharedChannelMembershipSyncSelfReferential(t *testing.T) {
assert.NotContains(t, syncedInSecondCall, user2.Id, "Second sync should not re-sync existing users")
})
t.Run("Test 4: Sync failure and recovery", func(t *testing.T) {
t.Skip("MM-64687")
// This test verifies that membership sync handles remote server failures gracefully
// and successfully syncs members once the remote server recovers.
// We test that: