[
https://issues.apache.org/jira/browse/IMPALA-8499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16834242#comment-16834242
]
ASF subversion and git services commented on IMPALA-8499:
---------------------------------------------------------
Commit 03ab3a58df0716b1259c1067175ee096c37460c0 in impala's branch
refs/heads/master from Tim Armstrong
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=03ab3a5 ]
IMPALA-8499: avoid datetime.total_seconds() in test_insert_events
This function was only added in Python 2.7.
Change-Id: I8e6e556d99d07c1f559a2097fbd634bfc5eaaa52
Reviewed-on: http://gerrit.cloudera.org:8080/13245
Reviewed-by: Todd Lipcon <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> test_insert_events datetime.total_seconds(), which is not supported in Python
> 2.6
> ---------------------------------------------------------------------------------
>
> Key: IMPALA-8499
> URL: https://issues.apache.org/jira/browse/IMPALA-8499
> Project: IMPALA
> Issue Type: Bug
> Components: Infrastructure
> Affects Versions: Impala 3.3.0
> Reporter: Tim Armstrong
> Assignee: Tim Armstrong
> Priority: Blocker
> Labels: broken-build
>
> {noformat}
> 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'
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]