Skip to content

Commit 2349be2

Browse files
committed
Checked version with test works
1 parent 97122c1 commit 2349be2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/test/java/io/github/jopenlibs/vault/api/LogicalIT.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,11 +312,14 @@ public void testList() throws VaultException {
312312
/**
313313
* Write a secret, and then verify that its key shows up in the list, returning their subkeys
314314
* when we use KV Engine version 2.
315+
* This test works from Vault 1.10.0 and onward
315316
*
316317
* @throws VaultException On error.
317318
*/
318319
@Test
319320
public void testListSubKeys() throws VaultException {
321+
assumeTrue(VaultVersion.greatThan("1.9.10"));
322+
320323
final Vault vault = container.getRootVault();
321324
final Map<String, Object> testMap = Map.of("value", "world", "test", "done");
322325

0 commit comments

Comments
 (0)