hard code domain value in Dataset class
In core integration test case , Dataset.java contains domain hardcode value as below
Acl acl = new Acl(); String[] viewers = new String[] { String.format("data.default.viewers@%s.**testing**.com", TenantUtils.getTenantName()) }; acl.setViewers(viewers); String[] owners = new String[] { String.format("data.default.owners@%s.**testing**.com", TenantUtils.getTenantName()) }; acl.setOwners(owners); datasetRegistry.setAcl(acl);
In case of IBM test case this value is different so in core code instead of hardcode value ,pass environment variable.