You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Taras Bobrovytsky (JIRA)" <ji...@apache.org> on 2018/01/19 02:46:03 UTC
[jira] [Created] (IMPALA-6421) Improve the way the pytest
--update_results flag works
Taras Bobrovytsky created IMPALA-6421:
-----------------------------------------
Summary: Improve the way the pytest --update_results flag works
Key: IMPALA-6421
URL: https://issues.apache.org/jira/browse/IMPALA-6421
Project: IMPALA
Issue Type: Bug
Reporter: Taras Bobrovytsky
Currently there are several problems with running py.test with the --update_results flag. It does not always output the test sections in a consistent order. For example sometimes TYPES is before RESULTS, and sometimes vice versa. We should come up a with a canonical order of the sections and update all the .test files so that this order is followed everywhere.
Another problem is that sometimes random spaces or newlines are inserted into random places in the new file with the updated results.
In general, we should make generating the expected results much more robust.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)