SSCT Optimizations (OSS) (#14323)

* update ci.hcl to remove 1.6.x and add in 1.10.x

* SSCT OSS PR review comments and optimizations

* check errors in populate token entry calls
This commit is contained in:
Hridoy Roy
2022-03-01 12:24:45 -08:00
committed by GitHub
parent 87a9b3af91
commit 88dbb8a372
8 changed files with 101 additions and 34 deletions

View File

@@ -87,7 +87,7 @@ func TestLoginCommand_Run(t *testing.T) {
t.Fatal(err)
}
if l, exp := len(storedToken), minTokenLengthExternal+vault.TokenPrefixLength; l != exp {
if l, exp := len(storedToken), minTokenLengthExternal+vault.TokenPrefixLength; l < exp {
t.Errorf("expected token to be %d characters, was %d: %q", exp, l, storedToken)
}
})