This is an automated email from the ASF dual-hosted git repository.
ayegorov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/master by this push:
new 0d98266 Add flaky-test template to track many flaky-test.
0d98266 is described below
commit 0d98266c1de479e9741949d163a3764030569efb
Author: Qiang Zhao <[email protected]>
AuthorDate: Tue Feb 15 03:36:06 2022 +0800
Add flaky-test template to track many flaky-test.
### Motivation
I found many flaky-test like #3031 #3034 #3033.
Because many flaky tests are actually production code issues so I think
it's a good way to add flaky-test template to track them
### Changes
- Add flaky-test template.
Reviewers: Andrey Yegorov <None>
This closes #3035 from mattisonchao/template_flaky_test
---
.github/ISSUE_TEMPLATE/flaky_test.md | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/.github/ISSUE_TEMPLATE/flaky_test.md
b/.github/ISSUE_TEMPLATE/flaky_test.md
new file mode 100644
index 0000000..fc81597
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/flaky_test.md
@@ -0,0 +1,31 @@
+---
+name: Flaky test
+about: Report a flaky test failure
+title: 'Flaky-test: test_class.test_method'
+labels: ["area/tests", "flaky-tests"]
+assignees: ''
+---
+<!---
+
+Instructions for reporting a flaky test using this issue template:
+
+1. Replace test_class in title and body with the short test class name WITHOUT
the package name.
+2. Replace test_method in title and body with the test method that failed.
Multiple methods are flaky, remove the content that refers to the test method.
+3. Replace "relevant parts of the exception stacktrace here" with the a few
lines of the stack trace that shows at least the exception message and the line
of test code where the stacktrace occurred.
+4. Replace "full exception stacktrace here" with the full exception stacktrace
from logs. This section will be hidden by default.
+5. Remove all unused fields / content to unclutter the reported issue. Remove
this comment too.
+
+-->
+test_class.test_method is flaky. It fails sporadically.
+
+```
+[relevant parts of the exception stacktrace here]
+```
+
+<!-- optionally provide the full stacktrace ->
+<details>
+<summary>Full exception stacktrace</summary>
+<code><pre>
+full exception stacktrace here
+</pre></code>
+</details>