Duarte Meneses
252b3897e7
Fix license headers for 2019
5 years ago
Sébastien Lesaint
8e1dc1628c
move ES index, indexer and client to sonar-server-common
6 years ago
Simon Brandhof
cbac281787
Rename EsTester factory methods
6 years ago
Simon Brandhof
72be5b2eca
Speed-up the unit tests relying on Elasticsearch
Creation of an index is slow in Elasticsearch. It should not executed
before each test.
6 years ago
Simon Brandhof
c0d2705e61
Fix license headers for 2018
6 years ago
Simon Brandhof
123a385340
SONAR-10216 fix quality flaws
6 years ago
Daniel Schwarz
b226884e63
SONAR-10008 Make date facet tests independent from the machine's time zone
6 years ago
Julien HENRY
5694a472f1
SONAR-9478 Replace Settings by Configuration
7 years ago
Julien HENRY
875e23e29f
SONAR-9478 Deprecate Settings and introduce new Configuration interface
7 years ago
Daniel Schwarz
3421203415
SONAR-8092 combine es index name and es type name into IndexTypeId
7 years ago
Teryk Bellahsene
cfa372a57a
SONAR-8637 Update POM parent version
7 years ago
Simon Brandhof
f79030e299
SONAR-7678 server-side stateless settings
* Settings class becomes abstract as multiple implementations
are used. Can't become an interface for binary
backward-compatibility of API
* tests should use MapSettings, an in-memory implementation
of Settings
* web server uses a thread-specific cache of settings when
processing HTTP requests
* web server does not have a cache of settings during startup,
except for the system settings loaded from sonar.properties
* Compute Engine uses a thread-specific cache of settings when
processing a task. Cache is clear at end of task.
* some useless methods of PersistentSettings are removed
7 years ago
Simon Brandhof
05266f9488
SONAR-7653 upgrade to Elasticsearch 2.3.3
8 years ago
Simon Brandhof
98df2f0031
Refactor usage of EsTester
This JUnit ExternalResource has to be used
as @Rule but not @ClassRule in order to
prepare move to Elasticsearch 2.x.
8 years ago
Teryk Bellahsene
45fe2d05b6
SONAR-7607 Log flooding in WS api/tests/list when testId is unknown
8 years ago
Teryk Bellahsene
66ebeab366
SONAR-7387 Refactor TestIndex
8 years ago
Simon Brandhof
f5d3461ffd
Fix project title in copyright headers
8 years ago
Simon Brandhof
6be98b208a
Upgrade to parent 26 and new copyright headers
8 years ago
Simon Brandhof
2150b151dd
Change default number of ES shards
- Use 5 shards by default on each index
- Do not change the default number of ES shards on cluster mode
8 years ago
Simon Brandhof
efa7cbf67f
Rename remaining variables "sut" to "underTest" in tests
9 years ago
David Gageot
5a587fb74f
Redundant throws clause in tests
9 years ago
Teryk Bellahsene
9f00b01208
update WS to rely on new tests - SONAR-6255
9 years ago
Teryk Bellahsene
885033d25e
index tests - SONAR-6255
9 years ago
Teryk Bellahsene
598bce548a
Move tests persistence from batch to compute - SONAR-6255
- define index and check the 3 use cases
- define batch report format
- create file_sources.test_data
9 years ago