Cody Soyland
7ede65bf80
Merge branch 'master' into shardwidth22
2019-04-11 10:10:47 -05:00
Cody Soyland
7bb6fdffcb
Add correct content type to query responses. Fixes #1873
2019-04-10 15:49:33 -05:00
Cody Soyland
992a075cfb
Return empty result set when query empty. Fixes #1840
2019-04-10 15:27:12 -05:00
Matt Jaffee
836b467d3d
add support to modify shard width at build time
...
use "make <x> SHARD_WIDTH=nn"
fix tests to run and pass at different shardwidths
add shardwidth22 test to circle ci
2019-04-04 13:46:26 -05:00
Seebs
5ee87bbf7c
add server stats to /info endpoint
...
report the approximate hardware specs (CPU speed, cores, memory)
of the server in the /info endpoint. This may be useful when
benchmarking.
We do some workarounds because gopsutil's core count output is
confusingly different between Linux and Darwin, and the MHz output
is usually wrong on Linux. Intel's app notes say to just parse
the model string. Whyyyyyyy.
2019-03-26 09:14:51 -05:00
Yuce Tekol
767062ab7c
Adds shardWidth to index info in schema
2019-03-01 14:57:46 +03:00
Yuce Tekol
d543689868
updated translate keys test to include new keys
2018-11-26 17:52:53 +03:00
Yuce Tekol
eb9e609794
Merged with master
2018-11-26 17:03:38 +03:00
Yuce Tekol
9c05155db4
Added /internal/translate/keys endpoint
2018-11-21 16:35:50 +03:00
Yuce Tekol
1faa789b31
remove ImportRoaringRequestView type
2018-11-21 14:53:16 +03:00
Yuce Tekol
1642e22872
fixed handler tests
2018-11-12 19:24:32 +03:00
Yuce Tekol
84c04900e1
Import roaring enpoint accepts a list of views
2018-11-12 18:43:59 +03:00
Yuce Tekol
066c3a4853
Fixes #1660
2018-10-01 14:15:51 +03:00
Matt Jaffee
7b0d4d75b4
remove validators on import-roaring and test handler
...
validators are for query args, not url vars. Also some misc cleanup and error
handling in the handler.
2018-09-13 13:14:35 -05:00
Matt Jaffee
a3243f99e1
linter fixes - reorder return vals, remove unused const
2018-09-12 13:24:59 -05:00
Cody Soyland
c44bb65163
Add more time to sleep in translator tests due to CI failures
2018-07-31 20:39:05 -05:00
Cody Soyland
0816ea8ecb
Add sleep to test to wait for key replication
2018-07-31 12:11:21 -05:00
Cody Soyland
e79cd4b199
Add JSON parsing to translator test to verify keys
2018-07-31 11:40:30 -05:00
Cody Soyland
ca800c683e
Add test for cluster translator
2018-07-24 14:57:06 -05:00
Travis Turner
babdb5ff4e
adjust test to account for new source of error downstream
2018-07-06 17:38:06 -05:00
Matt Jaffee
0a94d2f10d
Merge branch 'develop' into core-structs
2018-07-05 16:38:14 -05:00
Matt Jaffee
a164233c92
fix handler tests not to use internal and fix bug
2018-07-05 16:21:27 -05:00
Travis Turner
44f0b992f6
change all CreateField() methods to take functional options instead of FieldOptions
2018-07-04 21:22:35 -05:00
Travis Turner
cba91be126
move internal http endpoints under /internal
2018-07-02 08:48:23 -05:00
Travis Turner
3adc3f5978
add tests for index and field success responses
2018-07-01 19:54:09 -05:00
Travis Turner
7dd1f50a75
consolidate http errors into a shared response type
2018-07-01 19:54:09 -05:00
Travis Turner
5dd7a9556a
rename slice to shard
2018-06-28 14:07:07 -05:00
Cody Soyland
824474160e
Enhance test utilities (introduce Cluster type, improve naming)
2018-06-28 13:34:58 -05:00
Cody Soyland
533de70cbd
Allow passing slice of CommandOptions to MustRunMainWithCluster, each slice going to one Command
2018-06-26 11:22:48 -05:00
Matt Jaffee
6093064ac0
remove unecessary test and convert import test
2018-06-22 16:26:45 -05:00
Matt Jaffee
ba9112507d
fix server/handler_test.go for newpql
2018-06-22 12:57:28 -05:00
Matt Jaffee
6b57369b51
fix stats tests
2018-06-22 10:44:36 -05:00
Matt Jaffee
3c4ba82a4a
finish conversion of handler tests
2018-06-22 08:08:53 -05:00
Matt Jaffee
8809751a23
convert all tests except for CORS
2018-06-22 07:41:39 -05:00
Matt Jaffee
016dbac6ca
convert a bunch more tests
2018-06-21 19:24:17 -05:00
Matt Jaffee
504309e594
rewrite some tests to not be skipped
2018-06-21 15:06:22 -05:00
Matt Jaffee
a033771412
move handler tests which are actually testing everything to server package
2018-06-21 14:05:00 -05:00