-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1477 from michalvavrik/3.2-disable-kafka-streams-…
…tests [3.2] Disable Kafka Streams tests when running on Windows with RHBQ due to QUARKUS-3434
- Loading branch information
Showing
7 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
...ng/src/test/java/io/quarkus/ts/messaging/kafka/reactive/streams/DevModeKafkaStreamIT.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...test/java/io/quarkus/ts/messaging/kafka/reactive/streams/DevModeStrimziKafkaStreamIT.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...va/io/quarkus/ts/messaging/kafka/reactive/streams/DisabledOnWindowsWithRhbqCondition.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package io.quarkus.ts.messaging.kafka.reactive.streams; | ||
|
||
import io.quarkus.test.services.quarkus.model.QuarkusProperties; | ||
import io.smallrye.common.os.OS; | ||
|
||
public class DisabledOnWindowsWithRhbqCondition { | ||
|
||
public static final String DISABLED_IF_RHBQ_ON_WINDOWS = "io.quarkus.ts.messaging.kafka.reactive.streams." | ||
+ "DisabledOnWindowsWithRhbqCondition#isRunningOnWindowsWithRhbq"; | ||
|
||
public static boolean isRunningOnWindowsWithRhbq() { | ||
return isRunningOnWindows() && isRhbq(); | ||
} | ||
|
||
private static boolean isRunningOnWindows() { | ||
return OS.current() == OS.WINDOWS; | ||
} | ||
|
||
private static boolean isRhbq() { | ||
return QuarkusProperties.getVersion().contains("-redhat-"); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters