Skip to content

Commit 12e2dd6

Browse files
committed
tests: skip AMQP test_acknowledge always on CI
independent of Python versions, as the test is a bit flaky for unknown reasons
1 parent d6c21b9 commit 12e2dd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Please refer to the [NEWS](NEWS.md) for a list of changes which have an affect o
3737
- Replace `/opt/intelmq` example paths in bots with variable `VAR_STATE_PATH` for correct paths in LSB-path setups like with packages (PR#2587 by Sebastian Wagner).
3838

3939
### Tests
40+
- `intelmq.tests.lib.test_pipeline.TestAmqp.test_acknowledge`: Skip on all Python versions when running on CI (PR#2602 by Sebastian Wagner).
4041
- `.github/workflows/codespell.yml`, `debian-package.yml`, `regexploit.yml`: Upgrade to `ubuntu-latest` runners (PR#2602 by Sebastian Wagner).
4142

4243
### Tools

intelmq/tests/lib/test_pipeline.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,7 @@ def test_reject(self):
266266
self.pipe.reject_message()
267267
self.assertEqual(SAMPLES['normal'][1], self.pipe.receive())
268268

269-
@unittest.skipIf(os.getenv('CI') == 'true' and sys.version_info[:2] in ((3, 8), (3, 11), (3, 12)),
270-
'Fails on CI with Python 3.8 and 3.11')
269+
@unittest.skipIf(os.getenv('CI') == 'true', 'Fails on CI')
271270
def test_acknowledge(self):
272271
self.pipe.send(SAMPLES['normal'][0])
273272
self.pipe.receive()

0 commit comments

Comments
 (0)