Skip to content

Commit 19f542d

Browse files
authored
CLIENT-4574 Update integration configuration (#209)
1 parent b1d369d commit 19f542d

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/build-release.yml‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,13 @@ jobs:
5353
java-version: 17
5454
java-distribution: "temurin"
5555
build-script: |
56-
# Start Aerospike via the GitHub Action
57-
echo "Starting Aerospike DB..."
58-
docker run -d --name aerospike -p 3000:3000 aerospike/aerospike-server
59-
sleep 5
60-
6156
# Maven build
6257
if [ "${{ needs.extract-version.outputs.is-snapshot }}" == "true" ]; then
6358
pom_version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
6459
mvn versions:set -DnewVersion="${pom_version}-SNAPSHOT" -DgenerateBackupPoms=false -DprocessAllModules
6560
fi
6661
67-
mvn clean install -B -U -Dgpg.skip=true
62+
mvn clean install -B -U -Dgpg.skip=true -DskipTests
6863
6964
pwd
7065

‎src/test/java/com/aerospike/mapper/TestCustomTtl.java‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
import com.aerospike.mapper.annotations.AerospikeRecord;
1212
import com.aerospike.mapper.tools.AeroMapper;
1313

14+
/**
15+
* This test class requires positive nsup-period configured
16+
*/
1417
public class TestCustomTtl extends AeroMapperBaseTest {
1518

1619
@AerospikeRecord(namespace = "test", set = "classWithTtl", ttl=300)
@@ -29,6 +32,7 @@ public static class ClassWithTtlViaPolicy {
2932

3033
@Test
3134
public void testTtl() {
35+
// This test requires positive nsup-period configured
3236
AeroMapper mapper = new AeroMapper.Builder(client)
3337
.build();
3438

@@ -53,6 +57,7 @@ public void testTtl() {
5357

5458
@Test
5559
public void testTtlViaPolicy() {
60+
// This test requires positive nsup-period configured
5661
WritePolicy writePolicy = new WritePolicy();
5762
writePolicy.expiration = 300;
5863
AeroMapper mapper = new AeroMapper.Builder(client)

0 commit comments

Comments
 (0)