MM-64687: Racy tests in TestSharedChannelPostMetadataSync (#32144)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
9e7849647c
Коммит
2b8f7743b6
@@ -119,6 +119,7 @@ func TestSharedChannelPostMetadataSync(t *testing.T) {
|
|||||||
defer th.TearDown()
|
defer th.TearDown()
|
||||||
|
|
||||||
t.Run("Post Priority Metadata Self-Referential Sync", func(t *testing.T) {
|
t.Run("Post Priority Metadata Self-Referential Sync", func(t *testing.T) {
|
||||||
|
t.Skip("MM-64687")
|
||||||
var syncedPosts []*model.Post
|
var syncedPosts []*model.Post
|
||||||
|
|
||||||
// Create test HTTP server using self-referential approach
|
// 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.Run("Acknowledgement Count Sync Back to Sender", func(t *testing.T) {
|
||||||
|
t.Skip("MM-64687")
|
||||||
EnsureCleanState(t, th, th.App.Srv().Store())
|
EnsureCleanState(t, th, th.App.Srv().Store())
|
||||||
var syncedPosts []*model.Post
|
var syncedPosts []*model.Post
|
||||||
var postIdToSync string
|
var postIdToSync string
|
||||||
@@ -347,6 +349,7 @@ func TestSharedChannelPostMetadataSync(t *testing.T) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
t.Run("Persistent Notifications Self-Referential Sync", func(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())
|
EnsureCleanState(t, th, th.App.Srv().Store())
|
||||||
var syncedPosts []*model.Post
|
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.Run("Cross-Cluster Acknowledgement End-to-End Flow", func(t *testing.T) {
|
||||||
|
t.Skip("MM-64687")
|
||||||
EnsureCleanState(t, th, th.App.Srv().Store())
|
EnsureCleanState(t, th, th.App.Srv().Store())
|
||||||
var syncedPostsServerA []*model.Post
|
var syncedPostsServerA []*model.Post
|
||||||
var syncedPostsServerB []*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")
|
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.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
|
// This test verifies that membership sync handles remote server failures gracefully
|
||||||
// and successfully syncs members once the remote server recovers.
|
// and successfully syncs members once the remote server recovers.
|
||||||
// We test that:
|
// We test that:
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user