[
https://issues.apache.org/jira/browse/IMPALA-7279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16802957#comment-16802957
]
ASF subversion and git services commented on IMPALA-7279:
---------------------------------------------------------
Commit 22bd88fd6186adced36f16f37b100dc718498e71 in impala's branch
refs/heads/2.x from Bikramjeet Vig
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=22bd88f ]
IMPALA-7279: Fix flakiness in test_rows_availability
This patch fixes a flaky time string parsing method in
test_rows_availability that fails on strings with microsecond precision.
Change-Id: If7634869823d8cc4059048dd5d3c3a984744f3be
Reviewed-on: http://gerrit.cloudera.org:8080/10922
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> test_rows_availability failing: incompatible regex
> --------------------------------------------------
>
> Key: IMPALA-7279
> URL: https://issues.apache.org/jira/browse/IMPALA-7279
> Project: IMPALA
> Issue Type: Bug
> Components: Infrastructure
> Reporter: Bikramjeet Vig
> Assignee: Bikramjeet Vig
> Priority: Major
> Labels: broken-build
> Fix For: Impala 3.1.0
>
>
> the regex that parses the time string is incompatible with microseconds in
> the string. eg. 999us
> {noformat}
> 05:48:03 =================================== FAILURES
> ===================================
> 05:48:03 TestRowsAvailability.test_rows_availability[query: select count(*)
> over () from functional.alltypestiny where month = 1 and bool_col =
> sleep(1000) | exec_option: {'batch_size': 0, 'num_nodes': 0,
> 'disable_codegen_rows_threshold': 0, 'disable_codegen': False,
> 'abort_on_error': 1, 'debug_action': None, 'exec_single_node_rows_threshold':
> 0} | table_format: text/none]
> 05:48:03 query_test/test_rows_availability.py:79: in test_rows_availability
> 05:48:03 start_time_ms = self.__parse_time_ms(self.__find_time(line))
> 05:48:03 query_test/test_rows_availability.py:114: in __parse_time_ms
> 05:48:03 assert False, 'Failed to parse duration string %s' % duration
> 05:48:03 E AssertionError: Failed to parse duration string 999.995us
> 05:48:03 E assert False
> {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]