Cant build samples in mac
joecabezas opened this issue · 1 comments
joecabezas commented
Here is the output
➜ cadence-java-samples git:(master) ./gradlew build
> Task :test
com.uber.cadence.samples.fileprocessing.FileProcessingTest > testHappyPath FAILED
org.junit.runners.model.TestTimedOutException at FileProcessingTest.java:100
com.uber.cadence.samples.fileprocessing.FileProcessingTest > testHostFailover FAILED
org.junit.runners.model.TestTimedOutException at FileProcessingTest.java:100
20 tests completed, 2 failed
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///Users/joe.cabezas/dev/cadence-java-samples/build/reports/tests/test/index.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 28s
7 actionable tasks: 3 executed, 4 up-to-date
➜ cadence-java-samples git:(master) uname -a
Darwin joe-cabezas 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64
➜ cadence-java-samples git:(master) sw_vers
ProductName: Mac OS X
ProductVersion: 10.14.3
BuildVersion: 18D109
What I am missing here?, code seems ok, seems mac related
yandooo commented
looks like tests are constantly failing (mysql, postgresql)
./gradlew build
> Task :googleJavaFormat
Version 0.6 of google-java-format-gradle-plugin is not tested against version 1.5 of google-java-format. This should not be a problem if the task is executed without failures.
> Task :test
com.uber.cadence.samples.fileprocessing.FileProcessingTest > testHappyPath FAILED
org.junit.runners.model.TestTimedOutException at FileProcessingTest.java:89
com.uber.cadence.samples.fileprocessing.FileProcessingTest > testHostFailover FAILED
org.junit.runners.model.TestTimedOutException at FileProcessingTest.java:89
com.uber.cadence.samples.hello.HelloAsyncActivityCompletionTest > testActivityImpl FAILED
org.junit.runners.model.TestTimedOutException at HelloAsyncActivityCompletionTest.java:63
com.uber.cadence.samples.hello.HelloAsyncLambdaTest > testActivityImpl FAILED
org.junit.runners.model.TestTimedOutException at HelloAsyncLambdaTest.java:68
com.uber.cadence.samples.hello.HelloAsyncLambdaTest > testMockedActivity FAILED
org.junit.runners.model.TestTimedOutException at HelloAsyncLambdaTest.java:68
com.uber.cadence.samples.hello.HelloAsyncTest > testActivityImpl FAILED
org.junit.runners.model.TestTimedOutException at HelloAsyncTest.java:63
com.uber.cadence.samples.hello.HelloAsyncTest > testMockedActivity FAILED
org.junit.runners.model.TestTimedOutException at HelloAsyncTest.java:63
com.uber.cadence.samples.hello.HelloPeriodicTest > testPeriodicActivityInvocation FAILED
org.junit.runners.model.TestTimedOutException at HelloPeriodicTest.java:75
com.uber.cadence.samples.hello.HelloPeriodicTest > testMockedActivity FAILED
org.junit.runners.model.TestTimedOutException at HelloPeriodicTest.java:75
23 tests completed, 9 failed