apache / apache/hudi

Fix order of tests

Open
#14,956 0 comments 0 reactions 1 assignee Assigned to @nsivabalan View on GitHub
from-jira priority:high type:bug
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

Recently, we encountered an issue in integ tests where namenode was not ready yet to receive connections (still in safemode) and hdfs commands in ITTestHoodieDemo setup were not succeeeding. The namenode typically takes some time (2-3 minutes) to come up. While adding a delay is a workaround, it would be better to execute this test after others like ITTestHoodieSyncCommand and ITTestHoodieSanity. With JUnit 5.8 we can order test classes and as we already have a working patch for upgrading junit (https://github.com/apache/hudi/pull/3748) we should consider ficing the order to avoid flakiness.

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-3023
- Type: Bug
- Epic: https://issues.apache.org/jira/browse/HUDI-3303
- Fix version(s):
- 1.1.0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.