Details
-
Bug
-
Resolution: Fixed
-
Major
-
5.0.0
-
5.0.0-2194
-
Untriaged
-
Yes
Description
Job which fails:
http://qa.sc.couchbase.com/job/cen006-p0-n1ql-vset03-07-covering_gsi/
Test which fails:
tuqquery.tuq_2i_index.QueriesIndexTests.test_indexcountscan
How to run the test?
./testrunner -i /tmp/n1ql_set3.ini gsi_type=forestdb,nodes_init=1,get-cbcollect-info=True -t tuqquery.tuq_2i_index.QueriesIndexTests.test_indexcountscan,covering_index=true,doc-per-day=6,skip_index=True,index_type=gsi
Error reported by test:
======================================================================
|
FAIL: test_indexcountscan (tuqquery.tuq_2i_index.QueriesIndexTests)
|
----------------------------------------------------------------------
|
Traceback (most recent call last):
|
File "pytests/tuqquery/tuq_2i_index.py", line 2415, in test_indexcountscan |
"IndexCountScan is not being used") |
AssertionError: IndexCountScan is not being used
|
|
----------------------------------------------------------------------
|
Index created:
CREATE INDEX idx ON default(meta().id)
Query issued:
self.query = "select count(1) from %s WHERE meta().id like '%s' " %(bucket.name,'query-test%')
Assert which fails:
self.assertTrue(
plan['~children'][0]'#operator' == 'IndexCountScan',
"IndexCountScan is not being used")
Is this also changed to Indexcountscan2?