| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. See accompanying LICENSE file. |
| |
| # Core module test properties |
| |
| # these settings allow tests to run and consistently pass on 16GB MacBook Pro |
| # with ug.heapmax=5000m and ug.heapmin=3000m (set in Maven settings.xml) |
| #cassandra.connections=30 |
| cassandra.timeout.pool=20000 |
| cassandra.timeout=20000 |
| |
| |
| #Not a good number for real systems. Write shards should be 2x cluster size from our tests |
| #This is just way more efficient for a single node and the number of shards we're creating |
| elasticsearch.number_shards=1 |
| elasticsearch.number_replicas=0 |
| elasticsearch.management_number_shards=1 |
| elasticsearch.management_number_replicas=0 |
| |
| elasticsearch.managment_index=usergrid_core_management |
| #cassandra.keyspace.application=core_tests_schema |
| elasticsearch.queue_impl.resolution=true |
| elasticsearch.queue_impl=DISTRIBUTED |
| |
| elasticsearch.buffer_timeout=1 |
| |
| # This property is required to be set and cannot be defaulted anywhere |
| usergrid.cluster_name=usergrid |
| |
| # --- Start: Usergrid cluster/actor system settings |
| |
| usergrid.cluster.enabled=true |
| usergrid.cluster.hostname=localhost |
| usergrid.cluster.region.local=us-east |
| usergrid.cluster.region.list=us-east |
| usergrid.cluster.seeds=us-east\:localhost |
| |
| collection.uniquevalues.actors=300 |
| collection.uniquevalues.authoritative.region=us-east |
| |
| # Queueing Test Settings |
| # Reduce the long polling time for the tests |
| queue.long.polling.time.millis=50 |
| elasticsearch.worker_count=8 |
| elasticsearch.worker_count_utility=8 |
| queue.get.timeout.seconds=8 |
| |
| # --- End: Usergrid cluster/actor system settings |
| |