pauloricardomg commented on code in PR #277:
URL: https://github.com/apache/cassandra-sidecar/pull/277#discussion_r2677579320


##########
.circleci/config.yml:
##########
@@ -150,8 +154,10 @@ jobs:
       - checkout
       - attach_workspace:
           at: dtest-jars
+      - attach_workspace:
+          at: cassandra-tarballs
       - run: ./scripts/install-shaded-dtest-jar-local.sh
-      - run: ./gradlew --no-daemon -PdtestVersion=4.0.16 
-Dcassandra.sidecar.versions_to_test="4.0" integrationTestHeavyWeight 
--stacktrace
+      - run: ./gradlew --no-daemon -PdtestVersion=4.0.16 -PtarballVersion=4.0 
-Dcassandra.sidecar.versions_to_test="4.0" jar integrationTestHeavyWeight 
--stacktrace

Review Comment:
   This is needed because the test `Server` requires the file 
`server-common/src/main/resources/sidecar.version` to be initialized and this 
is done by the jar task, otherwise the test [fails 
](https://app.circleci.com/pipelines/circleci/KaZH6B8gKQFCZv6WTtM3yk/7N9zyX9UjY83jRQygcQ3Mf/32/workflows/45bbabf6-1bf8-4853-9225-ef0e1873f09d/jobs/433)
 with:
   
   ```java
   ProcessLifecycleProviderIntegrationTest > initializationError FAILED
       com.google.inject.ProvisionException at 
ProcessLifecycleProviderIntegrationTest.java:144
           Caused by: java.lang.IllegalStateException at 
ProcessLifecycleProviderIntegrationTest.java:144
               Caused by: java.lang.NullPointerException at 
ProcessLifecycleProviderIntegrationTest.java:144
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to