summaryrefslogtreecommitdiff
path: root/ext/librethinkdbxx/test/upstream/regression/4431.yaml
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-11-02 07:05:11 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-11-02 07:05:11 -0700
commit4e88c80a22b6ca982341413ee806ade0df57b4b7 (patch)
tree82c2daaac597f74595bc83c18646280a56898e1a /ext/librethinkdbxx/test/upstream/regression/4431.yaml
parenta6203ed0389c1b995ebe94935b2d1ddeb01f36ee (diff)
downloadinfinitytier-4e88c80a22b6ca982341413ee806ade0df57b4b7.tar.gz
infinitytier-4e88c80a22b6ca982341413ee806ade0df57b4b7.zip
RethinkDB native connector work, minor fixes.
Diffstat (limited to 'ext/librethinkdbxx/test/upstream/regression/4431.yaml')
-rw-r--r--ext/librethinkdbxx/test/upstream/regression/4431.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/librethinkdbxx/test/upstream/regression/4431.yaml b/ext/librethinkdbxx/test/upstream/regression/4431.yaml
new file mode 100644
index 00000000..ac674516
--- /dev/null
+++ b/ext/librethinkdbxx/test/upstream/regression/4431.yaml
@@ -0,0 +1,10 @@
+desc: 4431 -- detect `use_outdated` optarg
+tests:
+ - cd: r.table('test')
+ runopts:
+ use_outdated: true
+ ot: err('ReqlQueryLogicError', 'The `use_outdated` optarg is no longer supported. Use the `read_mode` optarg instead.')
+
+ - py: r.table('test', use_outdated=True)
+ cd: r.table('test', {use_outdated:true})
+ ot: err('ReqlQueryLogicError', 'The `use_outdated` optarg is no longer supported. Use the `read_mode` optarg instead.') \ No newline at end of file