diff --git a/tests/system/test_integration.py b/tests/system/test_integration.py index fa26f3c9055..12d4f00c438 100644 --- a/tests/system/test_integration.py +++ b/tests/system/test_integration.py @@ -662,8 +662,7 @@ def test_self_profiling(self): def create_load(): payload_path = self.get_payload_path("transactions_spans.ndjson") with open(payload_path) as f: - r = requests.post(self.intake_url, data=f, headers={'content-type': 'application/x-ndjson'}) - assert r.status_code == 202, r.status_code + requests.post(self.intake_url, data=f, headers={'content-type': 'application/x-ndjson'}) # Wait for profiling to begin, and then start sending data # to the server to create some CPU load.