Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-18627

n1ql: test_now_millis fails in build 1744 but passes with 1733

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 4.5.0
    • 4.5.0
    • query
    • 4.5.0-1744
    • Untriaged
    • Yes

    Description

       
      Test run:
      ./testrunner -i /tmp/n1ql_set1.ini gsi_type=memory_optimized,primary_indx_type=VIEW,doc-per-day=6,standard_buckets=1,get-cbcollect-info=True,services_init=kv:index:n1ql,skip_cleanup=True,nodes_init=2 -t tuqquery.tuq.QueryTests.test_now_millis,GROUP=DATE;P0
       
      Error:
      2016-03-09 12:10:13,554] - [tuq:3339] INFO - RUN QUERY select now_millis() as now
      [2016-03-09 12:10:13,561] - [rest_client:2507] INFO - query params : scan_consistency=REQUEST_PLUS&creds=%5B%5D&statement=select+now_millis%28%29+as+now
      [2016-03-09 12:10:13,570] - [tuq:3358] INFO - TOTAL ELAPSED TIME: 5.406263ms
      FAIL
       
      ======================================================================
      FAIL: test_now_millis (tuqquery.tuq.QueryTests)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "pytests/tuqquery/tuq.py", line 2207, in test_now_millis
          now * 1000, (now + 10) * 1000, res["results"]))
      AssertionError: Result expected to be in: [1.45755421355e+12 ... 1.45755422355e+12]. Actual [{u'now': 1457554213553.9082}]
       
      Same test passes on 1733.
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Prerna.Manaktala Prerna Manaktala (Inactive)
            Prerna.Manaktala Prerna Manaktala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty