ab8306d915
move decompressor test
2015-04-16 19:01:18 -04:00
f64df95f23
move decompressor to internal
2015-04-16 18:02:35 -04:00
kortschak
21c2d75d07
Make query/... interfaces more idiomatic
...
Also revert the data type returned by queries to interface{} (the change
made sense at the time).
2015-02-10 10:56:03 +10:30
9450d86881
bench: Add some grunty Not queries to the integration test (derived from existing queries)
2015-02-05 21:13:30 -05:00
d2434b024d
Merge pull request #180 from bkendall/fix-mongo-cache-no-tests
...
Prevent empty values in cache (using mongo)
2015-02-03 18:58:33 -05:00
kortschak
d743de6b87
Add call to loadFn hook
...
Also add error return.
2015-01-26 16:36:31 +10:30
Bryan Kendall
d275c93ca3
provide a default database for the mongo tests
2014-11-01 17:18:54 -07:00
kortschak
484bf145a8
Remove non-documentation lint
...
Because of extensive nature of changes, tested all three non-memstore
backends - passed.
2014-08-28 11:51:39 +09:30
kortschak
d8866478df
Add basic support for mongo testing
...
This is not intended to be for general consumption at this stage; it
requires that the tester has a mongod instance running and because of
the time taken to load the db, $GOROOT/src/cmd/go/test.go must be
modified to allow for tests longer than 10 minutes. A future CL may
allow db probing and the use of an existing cayley test dataset.
2014-08-27 23:01:12 +09:30
89a03bfe8f
Merge pull request #128 from barakmich/boltdb
...
Add BoltDB backend
2014-08-23 18:11:28 -04:00
d0fcdf4299
Documentation and tests
2014-08-23 18:05:04 -04:00
kortschak
ec008b5820
Move remove() and removeAll() to tests
...
This is done to keep deadcode quiet.
2014-08-22 16:50:39 +09:30
ca6922e79b
fix the tests and care not about result ordering
2014-08-20 01:02:52 -04:00
fe0569c9d4
merge with master
2014-08-13 23:03:07 -04:00
50efe31fdd
fix the test, remove -short from .travis.yml
2014-08-12 19:26:02 -04:00
kortschak
99d44e3228
Add test and make it pass
2014-08-12 10:20:26 +09:30
9ce35aeb45
add removal test
2014-08-10 21:34:22 -04:00
3770190db5
test clean
2014-08-10 20:10:00 -04:00
kortschak
86bf7e9e6a
Remove now-irrelevant failing test
2014-08-08 22:21:42 +09:30
kortschak
844927ff1f
Make decompressor conditional on reader interface
2014-08-08 21:27:17 +09:30
kortschak
979a0c4aee
Allow optional strict N-Quad parsing
...
This puts more of the logic in cayley, but other approaches require that
db knows about quad formats.
2014-08-08 10:28:18 +09:30
kortschak
4c3f5109eb
Separate db.Open and db.Load
...
Updates #82 .
2014-08-08 09:52:35 +09:30
cedaa9cdfa
Merge branch 'master' into materializer_iterator
2014-08-06 14:31:10 -04:00
11891f02a9
remove lead-in parsing test
2014-08-06 05:19:46 -04:00
8a08b59cc2
Merge branch 'fix_integration' into materializer_iterator
2014-08-06 05:06:10 -04:00
0c3e0381f3
Fix the integration test from crashing
...
Sessions are expected to only have one running query (perhaps this is a
bug). So we need to make a new session for each of the benchmark runs,
timing only the running part.
2014-08-06 05:03:20 -04:00
24f57df859
fix overshoot and optimize better
2014-08-06 03:49:55 -04:00
kortschak
1ae81e6d00
Fix typos missed
2014-08-05 22:37:08 +09:30
kortschak
ffb52af00b
Rename GremlinTimeout -> Timeout
...
Given that there may be other Turing complete query interfaces
(particularly a Go query API), the timeout config should not be
specifically tied to gremlin.
2014-08-02 23:28:24 +09:30
kortschak
0fedecd392
Use time.Duration according to the time docs
...
Having a time.Duration measuring seconds is likely to cause problems at
a later stage. This change retains configuration compatibility while
adding idiomatic duration use.
2014-08-02 23:16:17 +09:30
kortschak
8ccf842518
Improve error handling
...
Export the timeout kill error and use error instead of string in result
struct.
2014-08-02 22:14:24 +09:30
kortschak
1606e98d9f
Rename Check-ish -> Contains-ish
...
Contains[*] indicates what the check is for.
[*] I considered Has/Have, but settled on Contains to avoid confusion
with the HasA iterator.
2014-07-31 15:29:42 +09:30
kortschak
38f7b79761
Allow short tests
2014-07-31 08:45:45 +09:30
kortschak
b4887e3c30
Update tests to use cquads parsed data
2014-07-31 08:38:31 +09:30
kortschak
c4e4abbffc
Add result validation
2014-07-31 08:33:18 +09:30
kortschak
02672da9ad
Fix typos
2014-07-31 07:32:38 +09:30
kortschak
24253cd054
Add basic integration benchmarks
...
Currently only memstore is benchmarked and only with gremlin. No
checking of validity of results is performed.
2014-07-30 23:08:25 +09:30