You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Attila Sasvari (JIRA)" <ji...@apache.org> on 2017/08/29 13:12:00 UTC
[jira] [Created] (OOZIE-3043) Run tests in deterministic order
Attila Sasvari created OOZIE-3043:
-------------------------------------
Summary: Run tests in deterministic order
Key: OOZIE-3043
URL: https://issues.apache.org/jira/browse/OOZIE-3043
Project: Oozie
Issue Type: Test
Reporter: Attila Sasvari
Priority: Trivial
[maven surefire plugin|http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html] can be configured to run tests in a deterministic order via the {{runOrder}}. For example:
{quote}
Supported values are "alphabetical", "reversealphabetical", "random", "hourly" (alphabetical on even hours, reverse alphabetical on odd hours), "failedfirst", "balanced" and "filesystem".
{quote}
Currently Oozie tests are running with the default "filesystem" setting. Different file systems (e.g. NTFS, ext) do not provide same ordering. Unfortunately, there are some Oozie flaky tests that do not seem independent from each other. We also saw hard to debug test failures caused by timeouts.
It might be better to run tests in "alphabetical" order. This way ordering would not vary from filesystem to filesystem.
(On the other hand, we should keep identifying and fixing flaky tests. To do this, randomness could be actually a "good" thing.)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)