Restore the option to run Kafka tests embedded vs. external

Honour the `SCS_KAFKA_TEST_EMBEDDED` flag when set as an environment variable
or Java property: when explicitly set to `false`, use an external broker and observe the
`SCS_EXTERNAL_SERVERS_REQUIRED` property (i.e. fail if server is missing). By default,
continue to run tests using an embedded broker.
This commit is contained in:
Marius Bogoevici
2016-05-10 09:12:34 -04:00
parent 9668cb968f
commit b579ddbcc5
3 changed files with 4 additions and 3 deletions

View File

@@ -194,7 +194,6 @@ public abstract class AbstractBinderTests<B extends AbstractTestBinder<? extends
if (testBinder != null) {
testBinder.cleanup();
}
System.clearProperty("SCS_KAFKA_TEST_EMBEDDED");
}
/**