improve functional tests 79/88079/9
authorguillaume.lambert <guillaume.lambert@orange.com>
Wed, 26 Feb 2020 15:58:47 +0000 (16:58 +0100)
committerguillaume.lambert <guillaume.lambert@orange.com>
Thu, 27 Feb 2020 13:35:37 +0000 (14:35 +0100)
commit73405f1ac101d67f21c1b8c0b16b1f3e21638640
tree894ca477dda312274bf98e42cdd1281949377529
parent3b1ac780f9fed4cddd3076a245746d48f74a6181
improve functional tests

- make scripts with "sed" compatible with BSD and macOS

- remove illegal reflective access warnings introduced by JDK11
  - create a file tests/reflectwarn.sh with the right JDK_JAVA_OPTIONS
    variable content.
    sourcing this file at build or runtime removes the warnings.
    But instead, it generates a long note in stderr that still pollutes
    nosetests results.
- in functional tests, move sims and controller stderr to a file to
  prevent that note from polluting nosetests results.

https://dev.to/erichelgeson/removing-illegal-reflective-access-warnings-in-grails-4-393o

JIRA: TRNSPRTPCE-192 TRNSPRTPCE-197
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I04156ab104d7420d1eb2d180579593c67293175b
tests/buildHoneynode.sh
tests/honeynode/1.2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/honeycomb-tpce
tests/honeynode/2.2.1/minimal-distribution-core/src/main/resources/honeycomb-minimal-resources/honeycomb-tpce
tests/reflectwarn.sh [new file with mode: 0755]
tests/transportpce_tests/1.2.1/test_utils.py
tests/transportpce_tests/2.2.1/test_utils.py
tox.ini