Skip to content

[GATEWAY V2]: Bifurcate connect / connection-acquire timeout between Gateway V1 and Gateway V2 endpoints.#48174

Merged
jeet1995 merged 120 commits into
Azure:mainfrom
jeet1995:AzCosmos_H2ConnectAcquireTimeout
Mar 5, 2026
Merged

[GATEWAY V2]: Bifurcate connect / connection-acquire timeout between Gateway V1 and Gateway V2 endpoints.#48174
jeet1995 merged 120 commits into
Azure:mainfrom
jeet1995:AzCosmos_H2ConnectAcquireTimeout

Addressing review comments.

a01ecfe
Select commit
Loading
Failed to load commit list.
Azure Pipelines / java - cosmos - ci succeeded Mar 5, 2026 in 1h 4m 19s

Build #20260304.17 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 57,106 (98.70%)
  • Other: 750 (1.30%)
  • Total: 57,857
Code coverage

  • 2403 of 81978 lines covered (2.93%)

Annotations

Check failure on line 12 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos - ci

Build log #L12

OpenTelemetry packages not available – Geneva logging disabled.

Check failure on line 12 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos - ci

Build log #L12

OpenTelemetry packages not available – Geneva logging disabled.

Check failure on line 1 in c.a.c.s.PointWriterITest.Point Writer can upsert items if not modified

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java - cosmos - ci

c.a.c.s.PointWriterITest.Point Writer can upsert items if not modified

The code passed to eventually never returned normally. Attempted 109 times over 10.043711100000001 seconds. Last failure message: 9999 was not greater than or equal to 10000.
Raw output
      org.scalatest.exceptions.TestFailedDueToTimeoutException: The code passed to eventually never returned normally. Attempted 109 times over 10.043711100000001 seconds. Last failure message: 9999 was not greater than or equal to 10000.
      at org.scalatest.enablers.Retrying$$anon$4.tryTryAgain$2(Retrying.scala:185)
      at org.scalatest.enablers.Retrying$$anon$4.retry(Retrying.scala:192)
      at org.scalatest.concurrent.Eventually.eventually(Eventually.scala:402)
      at org.scalatest.concurrent.Eventually.eventually$(Eventually.scala:401)
      at org.scalatest.concurrent.Eventually$.eventually(Eventually.scala:441)
      at org.scalatest.concurrent.Eventually.eventually(Eventually.scala:312)
      at org.scalatest.concurrent.Eventually.eventually$(Eventually.scala:311)
      at org.scalatest.concurrent.Eventually$.eventually(Eventually.scala:441)
      at com.azure.cosmos.spark.PointWriterITest.$anonfun$new$18(PointWriterITest.scala:321)
      at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
      at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
      at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
      at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
      at org.scalatest.Transformer.apply(Transformer.scala:22)
      at org.scalatest.Transformer.apply(Transformer.scala:20)
      at org.scalatest.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1684)
      at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
      at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
      at org.scalatest.flatspec.AnyFlatSpec.withFixture(AnyFlatSpec.scala:1685)
      at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1682)
      at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1694)
      at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
      at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1694)
      at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1676)
      at com.azure.cosmos.spark.IntegrationSpec.org$scalatest$BeforeAndAfterEach$$super$runTest(IntegrationSpec.scala:10)
      at org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:234)
      at org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:227)
      at com.azure.cosmos.spark.IntegrationSpec.runTest(IntegrationSpec.scala:10)
      at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1752)
      at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
      at scala.collection.immutable.List.foreach(List.scala:431)
      at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
      at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
      at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
      at scala.collection.immutable.List.foreach(List.scala:431)
      at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
      at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
      at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
      at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1752)
      at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1751)
      at org.scalatest.flatspec.AnyFlatSpec.runTests(AnyFlatSpec.scala:1685)
      at org.scalatest.Suite.run(Suite.scala:1112)
      at org.scalatest.Suite.run$(Suite.scala:1094)
      at org.scalatest.flatspec.AnyFlatSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(AnyFlatSpec.scala:1685)
      at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1797)
      at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
      at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1797)
      at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1795)
      at com.azure.cosmos.