Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a7ad7e2c9f
|
||
|
|
376a66d2fb |
No files matched your search
@@ -25,7 +25,7 @@ section E (summary in [docs/DESIGN.md](docs/DESIGN.md)).
|
||||
<dependency>
|
||||
<groupId>com.kingsrook.qbits</groupId>
|
||||
<artifactId>qbit-cluster</artifactId>
|
||||
<version>0.1.0-RC.1</version>
|
||||
<version>0.1.0-RC.1</version><!-- first release; see GitHub releases for the latest -->
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
<properties>
|
||||
<revision>0.1.0-RC.1</revision>
|
||||
<revision>0.1.0-SNAPSHOT</revision>
|
||||
<maven.compiler.source>21</maven.compiler.source>
|
||||
<maven.compiler.target>21</maven.compiler.target>
|
||||
<jacoco.version>0.8.15</jacoco.version>
|
||||
|
||||
@@ -89,7 +89,14 @@ class ClusterQBitProducerTest extends BaseClusterTest
|
||||
assertThat(QAlertTypeMetaData.of(qInstance, ClusterAlerts.NODE_LOST)).isNotNull();
|
||||
assertThat(HealthChecksMetaData.ofOrWithNew(qInstance).getChecks()).anyMatch(check -> ClusterHeartbeatHealthCheck.NAME.equals(check.getName()));
|
||||
assertThat(qInstance.getRuntimeServices()).extracting(reference -> reference.getName()).containsOnlyOnce(ClusterRuntimeService.class.getName());
|
||||
assertThat(ClusterQBitProducer.version()).isEqualTo("0.1.0-RC.1");
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// the version comes from the build (filtered qbit-cluster.properties) //
|
||||
////////////////////////////////////////////////////////////////////
|
||||
assertThat(ClusterQBitProducer.version()).matches("[0-9]+[.][0-9]+[.][0-9]+(-[A-Za-z0-9.]+)?");
|
||||
if(System.getProperty("qbit.artifactVersion") != null)
|
||||
{
|
||||
assertThat(ClusterQBitProducer.version()).isEqualTo(System.getProperty("qbit.artifactVersion"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user