Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant build samples in mac #11

Open
joecabezas opened this issue May 23, 2019 · 1 comment
Open

Cant build samples in mac #11

joecabezas opened this issue May 23, 2019 · 1 comment

Comments

@joecabezas
Copy link

joecabezas commented May 23, 2019

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
Copy link

yandooo commented Aug 11, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants