apache / openwhisk-cli

Apache OpenWhisk Command Line Interface (CLI)
https://openwhisk.apache.org/
Apache License 2.0
103 stars 99 forks source link

build binary test artifacts #477

Closed dgrove-oss closed 4 years ago

dgrove-oss commented 4 years ago

@mdeuser @steven0711dong -- need to run the task tests:buildArtifacts to generate the binary artifacts

mdeuser commented 4 years ago

thanks a lot @dgrove-oss - is the helloJava.jar expected to be generated by that gradle target? i see some java build lines in the build.sh file, but i don't think this .jar is one of the jar files being built.

dgrove-oss commented 4 years ago

The Java artifact will only be generated if there is a Java8 JVM available. Looking at the log, it appears that the JVM on the test VM was Java11 so the jar generation was skipped.

mdeuser commented 4 years ago

ugh.. https://github.com/apache/openwhisk-cli/blob/368da5bf3d34b4a9b64204a0876618d79e014146/tests/src/test/scala/org/apache/openwhisk/core/cli/test/WskConfigTests.scala#L244

we're in a new decade! i believe changing 201.* to 20.* should fix one of the failing tests