Skip to content

Commit

Permalink
fixed inconsistent version test
Browse files Browse the repository at this point in the history
  • Loading branch information
pj-spoelders committed Oct 13, 2023
1 parent 112716b commit 114de91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/src/extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe("Kafka Connector Extension", () => {
it("fails for inconsistent version", () => {
const scripts: ExaScriptsRow[] = [
setScript("KAFKA_METADATA", "com.exasol.cloudetl.kafka.KafkaTopicMetadataReader"),
setScript("KAFKA_IMPORT", "com.exasol.cloudetl.kafka.KafkaTopicDataImporter"),
setScript("KAFKA_IMPORT", "com.exasol.cloudetl.kafka.KafkaTopicDataImporter", "0.0.0"),
setScript("KAFKA_CONSUMER", "com.exasol.cloudetl.kafka.KafkaConsumerQueryGenerator"),
]
expect(() => findInstallations(scripts)).toThrowError(new PreconditionFailedError(`Not all scripts use the same version. Found 2 different versions: '${currentVersion}, 0.0.0'`))
Expand Down

0 comments on commit 114de91

Please sign in to comment.