Skip to content

Commit 8a07d8d

Browse files
committed
Unskip topology multi-actor conflict tests
1 parent da6767a commit 8a07d8d

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

topologytest/hlv_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@ func createConflictingDocs(t *testing.T, dsName base.ScopeAndCollectionName, pee
8989
if backingPeers[peerName] {
9090
continue
9191
}
92-
if peer.Type() == PeerTypeCouchbaseLite {
93-
// FIXME: Skipping Couchbase Lite tests for multi actor conflicts, CBG-4434
94-
continue
95-
}
9692
docBody := []byte(fmt.Sprintf(`{"activePeer": "%s", "topology": "%s", "action": "create"}`, peerName, topologyDescription))
9793
docVersion := peer.CreateDocument(dsName, docID, docBody)
9894
t.Logf("%s - createVersion: %#v", peerName, docVersion.docMeta)

topologytest/multi_actor_conflict_test.go

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,14 @@
99
package topologytest
1010

1111
import (
12-
"strings"
1312
"testing"
14-
15-
"github.com/couchbase/sync_gateway/base"
1613
)
1714

1815
// TestMultiActorConflictCreate
1916
// 1. create document on each peer with different contents
2017
// 2. start replications
2118
// 3. wait for documents to exist with hlv sources equal to the number of active peers
2219
func TestMultiActorConflictCreate(t *testing.T) {
23-
if !base.UnitTestUrlIsWalrus() {
24-
t.Skip("Flakey failures on multi actor conflicting writes, CBG-4379")
25-
}
2620
for _, topology := range append(simpleTopologies, Topologies...) {
2721
t.Run(topology.description, func(t *testing.T) {
2822
collectionName, peers, replications := setupTests(t, topology)
@@ -46,13 +40,7 @@ func TestMultiActorConflictCreate(t *testing.T) {
4640
// 6. start replications
4741
// 7. assert that the documents are deleted on all peers and have hlv sources equal to the number of active peers
4842
func TestMultiActorConflictUpdate(t *testing.T) {
49-
if !base.UnitTestUrlIsWalrus() {
50-
t.Skip("Flakey failures on multi actor conflicting writes, CBG-4379")
51-
}
5243
for _, topology := range append(simpleTopologies, Topologies...) {
53-
if strings.Contains(topology.description, "CBL") {
54-
t.Skip("CBL actor can generate conflicts and push replication fails with conflict for doc in blip tester CBL-4267")
55-
}
5644
t.Run(topology.description, func(t *testing.T) {
5745
collectionName, peers, replications := setupTests(t, topology)
5846
replications.Stop()
@@ -82,9 +70,6 @@ func TestMultiActorConflictUpdate(t *testing.T) {
8270
// 7. assert that the documents are deleted on all peers and have hlv sources equal to the number of active peers
8371
func TestMultiActorConflictDelete(t *testing.T) {
8472
for _, topology := range append(simpleTopologies, Topologies...) {
85-
if strings.Contains(topology.description, "CBL") {
86-
t.Skip("CBL actor can generate conflicts and push replication fails with conflict for doc in blip tester CBL-4267")
87-
}
8873
t.Run(topology.description, func(t *testing.T) {
8974
collectionName, peers, replications := setupTests(t, topology)
9075
replications.Stop()
@@ -117,13 +102,7 @@ func TestMultiActorConflictDelete(t *testing.T) {
117102
// 10. start replications
118103
// 11. assert that the documents are resurrected on all peers and have hlv sources equal to the number of active peers and the document body is equivalent to the last write
119104
func TestMultiActorConflictResurrect(t *testing.T) {
120-
if !base.UnitTestUrlIsWalrus() {
121-
t.Skip("Flakey failures on multi actor conflicting writes, CBG-4379")
122-
}
123105
for _, topology := range append(simpleTopologies, Topologies...) {
124-
if strings.Contains(topology.description, "CBL") {
125-
t.Skip("CBL actor can generate conflicts and push replication fails with conflict for doc in blip tester CBL-4267")
126-
}
127106
t.Run(topology.description, func(t *testing.T) {
128107
collectionName, peers, replications := setupTests(t, topology)
129108
replications.Stop()

0 commit comments

Comments
 (0)