mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 18:47:20 +01:00
block-ci: judge known bugs with the module helper; list only live reproductions
The inline loop called an empty -run match or a skip a fix, and the list still named #188 (closed, test passes) and #189 (test absent), so every nightly run failed. Use known-bugs.sh and its controls, as the module workflow does, and keep only #186: #187's reproduction passes at this revision because values.yaml sets blockmaster.stateHostPath. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9a8a3b81fb
commit
3f21fa9549
2 files changed
+15
-18
No files matched your search
@@ -46,6 +46,17 @@ class PortTests(unittest.TestCase):
|
||||
post = (ROOT / ".github/workflows/block-post-merge-review.yml").read_text()
|
||||
self.assertIn("working-directory: ${{ github.workspace }}", post)
|
||||
|
||||
def test_known_bugs_use_the_module_verdict_helper(self):
|
||||
text = (ROOT / ".github/workflows/block-known-bugs.yml").read_text()
|
||||
self.assertIn("bash .github/scripts/known-bugs-test.sh", text)
|
||||
self.assertIn("bash .github/scripts/known-bugs.sh <<'LIST'", text)
|
||||
rows = text.split("<<'LIST'\n", 1)[1].split("\n LIST", 1)[0].split("\n")
|
||||
self.assertTrue(rows)
|
||||
for row in rows:
|
||||
issue, pkg, test = row.split()
|
||||
sources = (ROOT / "seaweed-block" / pkg).glob("*_test.go")
|
||||
self.assertTrue(any("func " + test + "(" in s.read_text() for s in sources), row)
|
||||
|
||||
def test_release_tag_namespace_and_artifact_identity(self):
|
||||
text = (ROOT / ".github/workflows/block-release.yml").read_text()
|
||||
self.assertIn('"seaweed-block/v*"', text)
|
||||
|
||||
Reference in new issue
Block a user