Skip to content

Commit

Permalink
Set Hawkular-Tenant on standalone cluster tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasponce committed Feb 9, 2016
1 parent 49c5645 commit 37a504a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ class AbstractITestBase {
This is used for non-bus scenarios.
In Bus scenarios this property is skipped
*/
if (System.getProperty("standalone-test") != null) {
if (System.getProperty("standalone-test") != null ||
(System.getProperty("env") != null && System.getProperty("env").equals("cluster"))) {
client.headers.put("Hawkular-Tenant", testTenant)
}
}
Expand Down

0 comments on commit 37a504a

Please sign in to comment.