Skip to content

Commit

Permalink
[WFLY-11323] Fixing flaky test WritableServiceBasedNamingStoreTestCas…
Browse files Browse the repository at this point in the history
…e.testPermissions
  • Loading branch information
OrDTesters committed Nov 10, 2018
1 parent 3012936 commit 9694ae1
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -253,7 +253,9 @@ public void testPermissions() throws Exception {
WritableServiceBasedNamingStore.pushOwner(OWNER_FOO);
try {
permissions.add(new JndiPermission(store.getBaseName()+"/"+name,"bind,list,listBindings"));
store.bind(new CompositeName(name), value);
Name nameObj = new CompositeName(name);
store.bind(nameObj, value);
store.lookup(nameObj);
} finally {
WritableServiceBasedNamingStore.popOwner();
}
Expand Down

0 comments on commit 9694ae1

Please sign in to comment.