Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Reporting] Consolidate API Integration Test configs #66637

Merged
merged 29 commits into from
May 19, 2020
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c64896d
[Reporting] Consolidate API Integration Test configs
tsullivan May 14, 2020
a499f88
fix test isolation
tsullivan May 14, 2020
7e510e8
tweak
tsullivan May 14, 2020
a62d6f3
Merge branch 'master' into reporting/api-test-unify
tsullivan May 14, 2020
796fd5b
Merge branch 'master' into reporting/api-test-unify
tsullivan May 15, 2020
72037e6
import order
tsullivan May 15, 2020
37bd652
fix ts refactor ish
tsullivan May 15, 2020
81b0c15
Merge branch 'master' into reporting/api-test-unify
tsullivan May 15, 2020
ecee222
fix a test bug
tsullivan May 15, 2020
8267e04
fix test
tsullivan May 15, 2020
cbea357
--wip-- [skip ci]
tsullivan May 15, 2020
7590bbc
revision
tsullivan May 15, 2020
d0beba7
undo bad cherrypick
tsullivan May 15, 2020
dfdabfb
fix delete reports
tsullivan May 15, 2020
981d6b2
log tweak
tsullivan May 15, 2020
77a44f7
fix default index pattern
tsullivan May 15, 2020
7536c95
fix the test
tsullivan May 15, 2020
0064950
revert
tsullivan May 15, 2020
c7e11f9
--wip-- [skip ci]
tsullivan May 15, 2020
778db3a
unrevert
tsullivan May 15, 2020
133bcf9
harden the deleteAllReportingIndexes function
tsullivan May 18, 2020
4b77347
Merge branch 'master' into reporting/api-test-unify
tsullivan May 18, 2020
aa4108b
fix tests
tsullivan May 18, 2020
0539a76
Merge branch 'master' into reporting/api-test-unify
elasticmachine May 18, 2020
62ff1aa
move the log.debug line
tsullivan May 18, 2020
ba21be6
Merge branch 'reporting/api-test-unify' of github.com:tsullivan/kiban…
tsullivan May 18, 2020
3426c86
fix config path
tsullivan May 19, 2020
4a6e200
Merge branch 'master' into reporting/api-test-unify
elasticmachine May 19, 2020
1975fd4
Merge branch 'master' into reporting/api-test-unify
tsullivan May 19, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix default index pattern
  • Loading branch information
tsullivan committed May 15, 2020
commit 77a44f74580aeb321af153dec4f668dec1a9b816
8 changes: 7 additions & 1 deletion x-pack/test/reporting_api_integration/reporting/usage.ts
Original file line number Diff line number Diff line change
@@ -16,11 +16,17 @@ interface UsageStats {
// eslint-disable-next-line import/no-default-export
export default function({ getService }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const kibanaServer = getService('kibanaServer');
const reportingAPI = getService('reportingAPI');
const usageAPI = getService('usageAPI' as any); // NOTE Usage API service is not Typescript

describe('reporting usage', () => {
before(() => reportingAPI.deleteAllReportingIndexes());
before(async () => {
await kibanaServer.uiSettings.update({
defaultIndex: '0bf35f60-3dc9-11e8-8660-4d65aa086b3c',
});
await reportingAPI.deleteAllReportingIndexes();
});
afterEach(() => reportingAPI.deleteAllReportingIndexes());

describe('initial state', () => {