Skip to content

Commit

Permalink
fixe unittest by adding roles to mock_principal
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrik Saly committed Feb 17, 2016
1 parent 4354493 commit 938cbf3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public void testTransportClientMultiRound() throws Exception {

final Settings esServerSettings = Settings.builder().put(PREFIX + SettingConstants.ACCEPTOR_KEYTAB_PATH, "mock")
.put(PREFIX + SettingConstants.ACCEPTOR_PRINCIPAL, "mock").put(PREFIX + "mock_mode", true)
.putArray(PREFIX + SettingConstants.ROLES+".cc_kerberos_realm_role", "spock/admin@CCK.COM")
.putArray(PREFIX + SettingConstants.ROLES+".cc_kerberos_realm_role", "spock/admin@CCK.COM","mock_principal")
.build();

this.startES(esServerSettings);
Expand Down

0 comments on commit 938cbf3

Please sign in to comment.