mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[x-pack/jest/integration] Jest runs setup hook when tests are skipped...
This commit is contained in:
parent
08d90d037f
commit
33dc8e6cfd
3 changed files with 13 additions and 7 deletions
|
@ -30,8 +30,8 @@ node scripts/jest --ci --no-cache --verbose
|
|||
echo ""
|
||||
echo ""
|
||||
|
||||
echo " -> Running jest integration tests"
|
||||
cd "$XPACK_DIR"
|
||||
node scripts/jest_integration --ci --no-cache --verbose
|
||||
echo ""
|
||||
echo ""
|
||||
# echo " -> Running jest integration tests"
|
||||
# cd "$XPACK_DIR"
|
||||
# node scripts/jest_integration --ci --no-cache --verbose
|
||||
# echo ""
|
||||
# echo ""
|
||||
|
|
|
@ -16,6 +16,13 @@
|
|||
//
|
||||
// See all cli options in https://facebook.github.io/jest/docs/cli.html
|
||||
|
||||
throw new Error(`
|
||||
jest_integration tests have been disabled because of a flaky failure in the
|
||||
example integration test: https://github.com/elastic/kibana/issues/32795#issuecomment-471585274
|
||||
|
||||
when un-skipping these tests make sure to uncomment test/scripts/jenkins_xpack.sh lines 33-37
|
||||
`);
|
||||
|
||||
const resolve = require('path').resolve;
|
||||
process.argv.push('--config', resolve(__dirname, '../test_utils/jest/config.integration.js'));
|
||||
process.argv.push('--runInBand');
|
||||
|
|
|
@ -21,8 +21,7 @@ describe('example integration test with kbn server', async () => {
|
|||
await servers.stop();
|
||||
});
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/32795#issuecomment-471585274
|
||||
it.skip('should have started new platform server correctly', () => {
|
||||
it('should have started new platform server correctly', () => {
|
||||
expect(servers.kbnServer).toBeDefined();
|
||||
expect(servers.kbnServer.server).toBeDefined();
|
||||
expect(servers.kbnServer.server.plugins).toBeDefined();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue