pvillard31 commented on code in PR #11684:
URL: https://github.com/apache/nifi/pull/11684#discussion_r4524458222
##########
nifi-system-tests/nifi-system-test-suite/src/test/java/org/apache/nifi/tests/system/registry/RegistryClientIT.java:
##########
@@ -57,6 +58,18 @@ public class RegistryClientIT extends NiFiSystemIT {
public static final String TEST_FLOWS_BUCKET = "test-flows";
public static final String FIRST_FLOW_ID = "first-flow";
+ private static final String RESTART_SYNCHRONIZATION_TEST_NAME =
"testVersionControlledProcessGroupSynchronizesAfterRestart()";
+ private static final long VERSION_CONTROL_SYNC_TIMEOUT_SECONDS = 55;
+
+ @Override
+ protected boolean isAllowFactoryReuse() {
+ return !RESTART_SYNCHRONIZATION_TEST_NAME.equals(getTestName()) &&
super.isAllowFactoryReuse();
+ }
+
+ @Override
+ protected boolean isDestroyEnvironmentAfterEachTest() {
+ return RESTART_SYNCHRONIZATION_TEST_NAME.equals(getTestName()) ||
super.isDestroyEnvironmentAfterEachTest();
+ }
Review Comment:
Thanks @markap14 - changes are done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]