mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-26 06:46:10 +00:00
change defaults in stress test
This commit is contained in:
parent
a1796c3408
commit
4eddaec8ba
@ -40,16 +40,16 @@ public class ConcurrentIndexingVersioningTest {
|
|||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
|
|
||||||
Settings settings = settingsBuilder()
|
Settings settings = settingsBuilder()
|
||||||
.put("gateway", "none")
|
.put("gateway.type", "none")
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
Node node1 = nodeBuilder().settings(settings).node();
|
Node node1 = nodeBuilder().settings(settings).node();
|
||||||
Node node2 = nodeBuilder().settings(settings).node();
|
Node node2 = nodeBuilder().settings(settings).node();
|
||||||
final Node client = nodeBuilder().settings(settings).client(true).node();
|
final Node client = nodeBuilder().settings(settings).client(true).node();
|
||||||
|
|
||||||
final int NUMBER_OF_DOCS = 1000;
|
final int NUMBER_OF_DOCS = 10000;
|
||||||
final int NUMBER_OF_THREADS = 10;
|
final int NUMBER_OF_THREADS = 10;
|
||||||
final long NUMBER_OF_ITERATIONS = SizeValue.parseSizeValue("100k").singles();
|
final long NUMBER_OF_ITERATIONS = SizeValue.parseSizeValue("10k").singles();
|
||||||
final long DELETE_EVERY = 10;
|
final long DELETE_EVERY = 10;
|
||||||
|
|
||||||
final CountDownLatch latch = new CountDownLatch(NUMBER_OF_THREADS);
|
final CountDownLatch latch = new CountDownLatch(NUMBER_OF_THREADS);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user