CCSDK-1637: Fix DGWorkflowExecutionServiceTest fail if run 1st 04/94104/1
authorebo <eliezio.oliveira@est.tech>
Thu, 22 Aug 2019 11:38:01 +0000 (11:38 +0000)
committerebo <eliezio.oliveira@est.tech>
Thu, 22 Aug 2019 11:38:01 +0000 (11:38 +0000)
commit8c8bfa90b0e6e894e5119fb02c0de7eebf3a1368
tree1f929ab44bb77b48ef6a9662f923108d55d39358
parentd9922229aaaca2627a0c80a35a668fbb463bf6b8
CCSDK-1637: Fix DGWorkflowExecutionServiceTest fail if run 1st

The failure depends on the ordering of the test classes, which in turn
depends on the file system ordering (Surefire plugin's default. See
https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#runOrder)

This class is sharing the same SB context configuration of the
BlueprintServiceLogicTest, but the later manually changes the global
BluePrintDependencyService.
It was fixed by repeating the same change on the
DGWorkflowExecutionServiceTest.

Change-Id: I6f76948a766f8d56446a987cb61a781dc0d3f501
Issue-ID: CCSDK-1637
Signed-off-by: ebo <eliezio.oliveira@est.tech>
ms/blueprintsprocessor/modules/services/workflow-service/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/services/workflow/DGWorkflowExecutionServiceTest.kt