Skip to content

Commit

Permalink
JVMCBC-1497: Transactions integration tests not passing against 6.6 a…
Browse files Browse the repository at this point in the history
…nd below

Change-Id: I41b4f5f3c5b9b95b1ec6c6dab1545f5844ca5855
Reviewed-on: https://review.couchbase.org/c/couchbase-jvm-clients/+/207632
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Graham Pople <graham.pople@couchbase.com>
  • Loading branch information
programmatix committed Apr 4, 2024
1 parent e3130e7 commit 252bfd8
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,10 @@ import com.couchbase.client.core.error.DocumentNotFoundException
import com.couchbase.client.core.msg.kv.DurabilityLevel
import com.couchbase.client.scala.json.JsonObject
import com.couchbase.client.scala.transactions.config.TransactionOptions
import com.couchbase.client.scala.transactions.error.{
TransactionCommitAmbiguousException,
TransactionFailedException
}
import com.couchbase.client.scala.transactions.error.{TransactionCommitAmbiguousException, TransactionFailedException}
import com.couchbase.client.scala.{Cluster, Collection}
import com.couchbase.client.scala.util.ScalaIntegrationTest
import com.couchbase.client.test.{ClusterType, IgnoreWhen}
import com.couchbase.client.test.{Capabilities, ClusterType, IgnoreWhen}
import org.junit.jupiter.api.Assertions.fail
import org.junit.jupiter.api.{BeforeAll, Test, TestInstance}
import org.junit.jupiter.api.TestInstance.Lifecycle
Expand All @@ -36,7 +33,9 @@ import scala.concurrent.duration._

/** All transactions testing is done by FIT. However currently the Scala performer only supports testing the blocking
* API, so we do some basic testing of the async and reactive APIs here. */
@IgnoreWhen(clusterTypes = Array(ClusterType.MOCKED))
@IgnoreWhen(clusterTypes = Array(ClusterType.MOCKED),
// Using COLLECTIONS as a proxy for 7.0, since some tests include query
missesCapabilities = Array(Capabilities.COLLECTIONS))
@TestInstance(Lifecycle.PER_CLASS)
class TransactionsSpec extends ScalaIntegrationTest {
private var cluster: Cluster = _
Expand Down

0 comments on commit 252bfd8

Please sign in to comment.