Skip to content

Commit ec6eddb

Browse files
committed
chore: extend healthcheck interval
1 parent 1474d6c commit ec6eddb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

cmd/utils/scripts/utils_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
func TestGetWallet(t *testing.T) {
1919
t.Run("should return wallet", func(t *testing.T) {
2020
ctx := context.Background()
21-
keystorePath := filepath.Join("../../../", "docker-compose/localstack/local-key.json")
21+
keystorePath := filepath.Join("../../../", "docker-compose/local/localstack/local-key.json")
2222
env := environment.Environment{
2323
SecretSource: "env",
2424
WalletManagement: "native",
@@ -51,7 +51,7 @@ func TestGetWallet(t *testing.T) {
5151

5252
func TestCreatePeginContract(t *testing.T) {
5353
t.Run("should return contract", func(t *testing.T) {
54-
keystorePath := filepath.Join("../../../", "docker-compose/localstack/local-key.json")
54+
keystorePath := filepath.Join("../../../", "docker-compose/local/localstack/local-key.json")
5555
env := environment.Environment{
5656
SecretSource: "env",
5757
WalletManagement: "native",
@@ -72,7 +72,7 @@ func TestCreatePeginContract(t *testing.T) {
7272

7373
func TestCreatePegoutContract(t *testing.T) {
7474
t.Run("should return contract", func(t *testing.T) {
75-
keystorePath := filepath.Join("../../../", "docker-compose/localstack/local-key.json")
75+
keystorePath := filepath.Join("../../../", "docker-compose/local/localstack/local-key.json")
7676
env := environment.Environment{
7777
SecretSource: "env",
7878
WalletManagement: "native",
@@ -93,7 +93,7 @@ func TestCreatePegoutContract(t *testing.T) {
9393

9494
func TestCreateDiscoveryContract(t *testing.T) {
9595
t.Run("should return contract", func(t *testing.T) {
96-
keystorePath := filepath.Join("../../../", "docker-compose/localstack/local-key.json")
96+
keystorePath := filepath.Join("../../../", "docker-compose/local/localstack/local-key.json")
9797
env := environment.Environment{
9898
SecretSource: "env",
9999
WalletManagement: "native",

docker-compose/local/lps/docker-compose.lps-local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ services:
9494
healthcheck:
9595
test: ["CMD", "wget", "-q", "--spider", "http://localhost:8080/health"]
9696
interval: 15s
97-
start_period: 30s
97+
start_period: 120s # this is to allow enough time for the machine in the pipeline to start the server
9898
retries: 5
9999
networks:
100100
- net_lps

0 commit comments

Comments
 (0)