Skip to content

Commit 30d8d6b

Browse files
author
Barkha Choithani
committed
changed upgrade strategy, formatted tests
1 parent 70df390 commit 30d8d6b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

charts/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ replicaCount: 1
55

66
# update strategy for MarkLogic and Helm chart upgrades
77
updateStrategy:
8-
type: RollingUpdate
8+
type: OnDelete
99

1010
# Termination Grace Period
1111
terminationGracePeriod: 120

test/e2e/upgrade_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ package e2e
33
import (
44
"crypto/tls"
55
"fmt"
6+
"io/ioutil"
67
"os"
78
"path/filepath"
89
"strings"
910
"testing"
1011
"time"
11-
"io/ioutil"
1212

1313
"github.com/gruntwork-io/terratest/modules/helm"
1414
http_helper "github.com/gruntwork-io/terratest/modules/http-helper"
@@ -190,4 +190,4 @@ func TestMLupgrade(t *testing.T) {
190190
// verify latest MarkLogic version after upgrade
191191
assert.Equal(t, mlVersion.Str, "11.0.0")
192192

193-
}
193+
}

0 commit comments

Comments
 (0)