Seal migration (OSS) (#781)

This commit is contained in:
Jeff Mitchell
2018-10-22 23:34:02 -07:00
committed by GitHub
parent c967980020
commit 2f5b464bc9
23 changed files with 807 additions and 227 deletions

View File

@@ -333,7 +333,7 @@ func TestOperatorInitCommand_Run(t *testing.T) {
root := match[0][1]
decryptedRoot := testPGPDecrypt(t, pgpkeys.TestPrivKey1, root)
if l, exp := len(decryptedRoot), vault.TokenLength; l != exp {
if l, exp := len(decryptedRoot), vault.TokenLength+2; l != exp {
t.Errorf("expected %d to be %d", l, exp)
}
})