Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8499

test_insert_events datetime.total_seconds(), which is not supported in Python 2.6

    XMLWordPrintableJSON

Details

    Description

      custom_cluster.test_event_processing.TestEventProcessing.test_insert_events (from pytest)
      
      Failing for the past 1 build (Since Failed#344 )
      Took 2 min 5 sec.
      add description
      Error Message
      AttributeError: 'datetime.timedelta' object has no attribute 'total_seconds'
      Stacktrace
      custom_cluster/test_event_processing.py:67: in test_insert_events
          assert self.wait_for_insert_event_processing(last_synced_event_id) is True
      custom_cluster/test_event_processing.py:117: in wait_for_insert_event_processing
          time_delta = (datetime.now() - start_time).total_seconds()
      E   AttributeError: 'datetime.timedelta' object has no attribute 'total_seconds'
      

      Attachments

        Issue Links

          Activity

            People

              tarmstrong Tim Armstrong
              tarmstrong Tim Armstrong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: