Skip to content

Commit

Permalink
removing create space call
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Jul 17, 2023
1 parent 271ce47 commit e4f441b
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,6 @@ export default function ({ getService }: FtrProviderContext) {
await ml.testResources.createIndexPatternIfNeeded('ft_farequote', '@timestamp');
await ml.testResources.createIndexPatternIfNeeded('ft_ihp_outlier', '@timestamp');

await spacesService.create({
id: spaceIds.idSpace1,
name: 'space_one',
disabledFeatures: [],
});

await ml.testResources.setKibanaTimeZoneToUTC();
await ml.securityUI.loginAsMlPowerUser();

Expand All @@ -142,7 +136,7 @@ export default function ({ getService }: FtrProviderContext) {
}
}
await ml.api.cleanMlIndices();
await ml.testResources.cleanMLSavedObjects();
await ml.testResources.cleanMLSavedObjects([spaceIds.idSpace1]);
await ml.testResources.deleteIndexPatternByTitle('ft_farequote');
await ml.testResources.deleteIndexPatternByTitle('ft_ihp_outlier');
});
Expand Down

0 comments on commit e4f441b

Please sign in to comment.