Michael Russell
77d47e3235
Don't use the 'x-pack' subdir now that x-pack is part of core
2018-06-14 16:33:40 +02:00
Michael Russell
d8cf1d1f66
Explicitly set xpack.security.enabled: True
...
Only run test for checking if X-Pack is a plugin for 6.3 because it is
now installed into core
2018-06-14 15:48:18 +02:00
Michael Russell
6d82cf3142
WIP: 6.3 support
2018-06-13 08:29:45 +02:00
Michael Russell
917fc7fcfc
Look at the results from the http request instead of checking that the
...
json matches an md5 hash. This was causing flaky tests because the
order of the users in the test doing `curl -s localhost:9200/_xpack/security/user -u
es_admin:changeMeAgain` is not consistent which caused random failures.
Now if it does fail we will actually know the reason why:
```
security users
should have the elastic user
should have the kibana user (FAILED - 1)
should have the kibana_server user
should have the logstash user
logstash_system access check
should be reported as version 6.2.4
Failures:
1) Xpack Tests security users should have the kibana user
Failure/Error: expect(result['kibana']['username']).to eq('kibana4')
expected: "kibana4"
got: "kibana"
```
The failure output use to look like:
```
Failures:
1) Xpack Tests Command "curl -s localhost:9200/_xpack/security/user -u es_admin:changeMeAgain | md5sum | grep b6a1293c343e745a508c74778c9be8bb" exit_status should eq 0
Failure/Error: its(:exit_status) { should eq 0 }
expected: 0
got: 1
(compared using ==)
/bin/sh -c curl\ -s\ localhost:9200/_xpack/security/user\ -u\ es_admin:changeMeAgain\ \|\ md5sum\ \|\ grep\ b6a1293c343e745a508c74778c9be8bb
```
2018-05-17 08:39:13 +02:00
Michael Russell
38982ba6ad
Only change name to x-pack-core for 6.2 and above
2018-02-22 11:14:25 +01:00
Michael Russell
d9d54917bd
X-pack plugin has been renamed to x-pack-core
2018-02-22 10:01:16 +01:00
Michael Russell
fe0fc4b430
Bump default version to 6.2.2 and 5.6.8
2018-02-21 21:09:15 +01:00
Michael Russell
fecf5164c8
Test the returned results rather than an md5 hash of the json. These
...
tests were breaking on 6.x because certain fields have been
moved/changed
2018-02-01 11:59:32 +01:00
Michael Russell
bfced19152
Fix paths that came in from mass copy paste errors
2018-01-31 14:39:55 +01:00
Michael Russell
9eae7e3a3d
Standard xpack doesn't have es_plugins defined so just test the x-pack
...
plugin
2018-01-31 12:59:13 +01:00
Michael Russell
b0083ae293
Fix path config to match the node name
2018-01-31 12:07:32 +01:00
Michael Russell
043c1bff69
6.x should not have path.conf present
2018-01-31 08:17:44 +01:00
Michael Russell
94b059080b
Update tests to work with dynamic es_versions
2018-01-31 08:14:24 +01:00
Dale McDiarmid
e9a6f74d09
Fix for issue #369
2017-09-19 20:11:09 +01:00
Dale McDiarmid
5e1873ca68
Simpler restart handling + issue-test for recreation of problems
2017-08-20 10:30:39 -04:00
Dale McDiarmid
06cf45e739
Test Fix
2017-08-18 23:19:01 +01:00
Dale McDiarmid
15420e9211
X-Pack tests
2017-08-18 20:21:24 +01:00
Dale McDiarmid
330d8d1392
Standard tests
2017-08-18 19:38:10 +01:00
Dale McDiarmid
ed8ab11227
Simple test for LimitNPROC
2017-08-18 16:32:00 +01:00
Dale McDiarmid
53741c33c6
X-pack security fix + activation
2017-08-17 21:44:46 +01:00
Dale McDiarmid
16117f431f
Test for custom log4j file
2017-08-17 18:52:02 +01:00
Dale McDiarmid
911b2df9ac
Test for plugin on standard
2017-08-15 14:31:56 +01:00
Dale McDiarmid
01992fdb77
Fixes for mlock all test
2017-03-17 00:20:50 +00:00
Dale McDiarmid
1bc817a378
Support for plugin diffs + improved testing on minor upgrades + fixes
2017-03-16 21:06:17 +00:00
Dale McDiarmid
608df1ecf0
Test fixes
2017-01-17 15:33:51 +00:00
Dale McDiarmid
a0c0ab9837
Test fix for config
2017-01-17 15:24:25 +00:00
Dale McDiarmid
8d84b57941
Xpack tests + protection against reserved roles and users
2017-01-16 15:17:18 +00:00
Dale McDiarmid
3218191ee0
Multi tests fixed to test for mlockall and no work dir
2017-01-16 11:36:05 +00:00
Dale McDiarmid
dcbebf79c6
Multi cast removed
2017-01-16 11:18:45 +00:00
Dale McDiarmid
4edc56f104
Move to memory_lock
2017-01-16 10:40:01 +00:00
Dale McDiarmid
ffc417c766
remove path.work from tests
2017-01-13 12:51:25 +00:00
Dale McDiarmid
b2dd44e9d5
x-pack test cleanup
2017-01-11 13:05:13 +00:00
Dale McDiarmid
197cf05a0e
Shield to Security and other X-Pack clear up
2017-01-11 13:02:23 +00:00
Dale McDiarmid
5fb4350a63
Tests back to kopf + checks to fix java cert issues
2017-01-05 14:34:47 +00:00
Dale McDiarmid
b82f1bdce5
Moving to testing murmur3 for plugins as stable download
2017-01-05 12:15:59 +00:00
Dale McDiarmid
2ea0842a6c
Changes to support license
2017-01-04 13:23:22 +00:00
Dale McDiarmid
6768a15b89
Merge branch 'activate-elasticsearch-license' of https://github.com/barryib/ansible-elasticsearch into barryib-activate-elasticsearch-license
2017-01-04 11:00:40 +00:00
Thierno IB. BARRY
61a3ba32c5
add xpack license activation tests
2016-09-21 17:04:31 +02:00
Dale McDiarmid
a95127905b
Support for message auth + test
2016-09-19 17:09:27 +01:00
Dale McDiarmid
a8a0676b59
Tests for role mapping
2016-09-19 14:39:36 +01:00
Dale McDiarmid
605baf9a96
More tests
2016-07-24 19:18:04 +01:00
Dale McDiarmid
9eacd3a5e0
Fix for detecting es version changed
2016-07-24 17:39:44 +01:00
Dale McDiarmid
0a269a3d82
Fix for plugin version check
2016-07-24 16:17:39 +01:00
Dale McDiarmid
57fa9e432b
Support for all xpack features through generic install + improved tests
2016-07-24 15:25:32 +01:00
Dale McDiarmid
fdf1bda155
Shield config tests + prevent use of xpack in version < 2.0
2016-07-24 12:25:34 +01:00
Dale McDiarmid
9a83511801
Templates with shield tested
2016-07-23 20:23:56 +01:00
Dale McDiarmid
d3d9bbca17
Templates load user credentials if provided
2016-07-23 20:18:58 +01:00
Dale McDiarmid
4a86c9c482
Multi tests plugin directories correct
2016-07-23 19:51:53 +01:00
Dale McDiarmid
d73e515de3
Test improvements for xpack + httplib2 support
2016-07-23 19:48:50 +01:00
Dale McDiarmid
a149328ae8
Test fixes + ensuring node is started for templates
2016-07-23 16:41:37 +01:00