Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-1381 Support Fact to Fact Union
  3. LENS-1392

Fix failing TestCases in org.apache.lens.server.query.QueryAPIErrorResponseTest

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7
    • server
    • None

    Description

      Failed tests:
      QueryAPIErrorResponseTest.testQueryColumnWithBothStartDateAndEndDate:209->testColUnAvailableInTimeRange:297 expected [dimfield8d6e29df822945c49ea03d3533806cca can only be queried after Thursday, January 1, 2015 12:00:00 AM UTC and before Friday, January 30, 2015 11:00:00 PM UTC. Please adjust the selected time range accordingly.] but found [No fact table has the queried columns : [dimfield8d6e29df822945c49ea03d3533806cca]]
      QueryAPIErrorResponseTest.testQueryColumnWithBothStartDateAndEndDate:209->testColUnAvailableInTimeRange:297 expected [dimfield16cc374b445443a6ae8fce39fad190d1 can only be queried after Thursday, January 1, 2015 12:00:00 AM UTC and before Friday, January 30, 2015 11:00:00 PM UTC. Please adjust the selected time range accordingly.] but found [No fact table has the queried columns : [dimfield16cc374b445443a6ae8fce39fad190d1]]
      QueryAPIErrorResponseTest.testQueryColumnWithOnlyEndDate:245->testColUnAvailableInTimeRange:297 expected [dimfieldc7f0b34c257d4fde80dacaaf0d61d600 can only be queried before Friday, January 30, 2015 11:00:00 PM UTC. Please adjust the selected time range accordingly.] but found [No fact table has the queried columns : [dimfieldc7f0b34c257d4fde80dacaaf0d61d600]]
      QueryAPIErrorResponseTest.testQueryColumnWithOnlyEndDate:245->testColUnAvailableInTimeRange:297 expected [dimfield3931859c8fdf47a49beaadba222915d6 can only be queried before Friday, January 30, 2015 11:00:00 PM UTC. Please adjust the selected time range accordingly.] but found [No fact table has the queried columns : [dimfield3931859c8fdf47a49beaadba222915d6]]
      QueryAPIErrorResponseTest.testQueryColumnWithOnlyStartDate:227->testColUnAvailableInTimeRange:297 expected [dimfield4b536214dcf0413e9bd7190d9efa139b can only be queried after Thursday, January 1, 2015 12:00:00 AM UTC. Please adjust the selected time range accordingly.] but found [No fact table has the queried columns : [dimfield4b536214dcf0413e9bd7190d9efa139b]]
      QueryAPIErrorResponseTest.testQueryColumnWithOnlyStartDate:227->testColUnAvailableInTimeRange:297 expected [dimfield85771da365a44789a42fd8f800fbbe50 can only be queried after Thursday, January 1, 2015 12:00:00 AM UTC. Please adjust the selected time range accordingly.] but found [No fact table has the queried columns : [dimfield85771da365a44789a42fd8f800fbbe50]]
      Tests run: 321, Failures: 6, Errors: 0, Skipped: 18

      Attachments

        1. lens-1392.patch
          11 kB
          Puneet Gupta

        Activity

          People

            puneet884 Puneet Gupta
            puneet884 Puneet Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: