diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 90efb1f2..fa33254f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,4 +56,4 @@ jobs: if: ${{ ! contains( github.event.pull_request.labels.*.name, 'NoTestNeeded') }} run: | mvn scala-cross-build:change-version -Pscala-${{ matrix.scala }} - mvn clean install --no-transfer-progress -Pspark-${{ matrix.spark }} + mvn clean install --no-transfer-progress -Pspark-${{ matrix.spark }} -Dspan.scale.factor=10 diff --git a/examples/atum-examples/pom.xml b/examples/atum-examples/pom.xml index d51bc4bf..5f9c6f4d 100644 --- a/examples/atum-examples/pom.xml +++ b/examples/atum-examples/pom.xml @@ -27,6 +27,7 @@ 4.0.0-SNAPSHOT UTF-8 + 1 2.11 @@ -45,7 +46,7 @@ 2.12.12 2.12 - + 2.0.2 2.3 @@ -141,6 +142,9 @@ org.scalatest scalatest-maven-plugin ${scalatest.maven.plugin.version} + + ${span.scale.factor} + test diff --git a/examples/atum-examples/src/main/scala/za/co/absa/atum/examples/SampleMeasurements3.scala b/examples/atum-examples/src/main/scala/za/co/absa/atum/examples/SampleMeasurements3.scala index 33fcd8bb..5aefa34f 100644 --- a/examples/atum-examples/src/main/scala/za/co/absa/atum/examples/SampleMeasurements3.scala +++ b/examples/atum-examples/src/main/scala/za/co/absa/atum/examples/SampleMeasurements3.scala @@ -61,7 +61,7 @@ object SampleMeasurements3 extends Eventually { spark.disableControlMeasuresTracking() spark.close() - eventually(timeout(scaled(10.seconds)), interval(scaled(500.millis))) { + eventually(timeout(scaled(10.seconds)), interval(scaled(500.millis))) { // scaling will help on slow environments if (!Files.exists(Paths.get("data/output/stage3_job_results/_INFO"))) { throw new Exception("_INFO file not found at data/output/stage3_job_results") }