Knotx / knotx-aggregator

An aggregator for all Knot.x projects - release guides, automation, etc.
https://knotx.io
Apache License 2.0
0 stars 3 forks source link

Building stack with build-all fails on unit tests #37

Closed malaskowski closed 4 years ago

malaskowski commented 4 years ago

Steps to reproduce:

  1. from development run sh pull-all.sh -r <destination> -b master
  2. from development run sh build-all.sh -r <destination> -i -s

Result: Unit test Expect continuing processing next handler when no fragment is failed in ProcessingWithConfigTaskFactoryTest fails:

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>

Other details:

Error does not occur when running sh gradlew build from the knotx-stack repository.

malaskowski commented 4 years ago

It was problem with my gradle settings. After removing:

org.gradle.daemon=true
org.gradle.parallel=true

Tests work as expected.