test: fix test file

[skip ci]
This commit is contained in:
Marcel S. Henselin 2026-03-11 11:12:14 +01:00
parent d2051874c8
commit 43cc14e499
2 changed files with 1 additions and 17 deletions

View file

@ -89,24 +89,12 @@ runs:
fi
echo "::endgroup::"
- name: Install JAVA
shell: bash
run: echo "::group::java install"
- name: Setup JAVA
uses: actions/setup-java@v5
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '21'
- name: Install JAVA
shell: bash
run: echo "::endgroup::"
- name: Install GO
shell: bash
run: echo "::group::go install"
- name: Install Go ${{ inputs.go-version }}
uses: actions/setup-go@v6
with:
@ -114,10 +102,6 @@ runs:
check-latest: true
go-version-file: 'go.mod'
- name: Install GO
shell: bash
run: echo "::endgroup::"
- name: Determine GOMODCACHE
shell: bash
id: goenv

View file

@ -316,7 +316,7 @@ func TestAccInstanceEncryption(t *testing.T) {
verString := os.Getenv("TF_ACC_KEK_KEY_VERSION")
version, err := strconv.ParseUint(verString, 0, 8)
if err != nil {
t.Errorf("error coverting value to uint8")
t.Errorf("error coverting value to uint8: %+v", verString)
}
data.KekKeyVersion = uint8(version)
data.KekServiceAccount = os.Getenv("TF_ACC_KEK_SERVICE_ACCOUNT")