From 9e9a3389c260bba9a5cb990fb9ebed395aac0129 Mon Sep 17 00:00:00 2001 From: "shantanu.tiwari" Date: Thu, 17 Oct 2024 13:23:09 +0530 Subject: [PATCH] Use specific aerospike test container docker image --- README.md | 2 ++ .../java/com/phonepe/dlm/DistributedLockWithAerospikeTest.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3084469..c81b995 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Distributed Lock Manager (DLM) +[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=PhonePe_DLM&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=PhonePe_DLM) + Locking is a very common expectation in SoA, where a vulnerable entity needs to be protected for a certain duration. And the definition of vulnerable entity changes from one client to another depending on the use-cases at hand. diff --git a/src/test/java/com/phonepe/dlm/DistributedLockWithAerospikeTest.java b/src/test/java/com/phonepe/dlm/DistributedLockWithAerospikeTest.java index e5292b0..bc883ac 100644 --- a/src/test/java/com/phonepe/dlm/DistributedLockWithAerospikeTest.java +++ b/src/test/java/com/phonepe/dlm/DistributedLockWithAerospikeTest.java @@ -48,7 +48,7 @@ */ public class DistributedLockWithAerospikeTest { public static final String AEROSPIKE_HOST = "localhost"; - public static final String AEROSPIKE_DOCKER_IMAGE = "aerospike/aerospike-server:latest"; + public static final String AEROSPIKE_DOCKER_IMAGE = "aerospike/aerospike-server:6.4.0.23"; public static final String AEROSPIKE_NAMESPACE = "DLM"; public static final int AEROSPIKE_PORT = 3000; private static final AerospikeContainer AEROSPIKE_DOCKER_CONTAINER;