Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Removing additional repro test step (#3568)
Browse files Browse the repository at this point in the history
* add

* Removing repro.

* Removing more repro steps.
  • Loading branch information
nharper285 authored Oct 12, 2023
1 parent f251282 commit d792b3b
Show file tree
Hide file tree
Showing 2 changed files with 197 additions and 219 deletions.
34 changes: 0 additions & 34 deletions src/integration-tests/integration-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1313,28 +1313,6 @@ def check_jobs(
if not result:
raise Exception("jobs failed")

def check_repros(
self,
test_id: UUID,
*,
endpoint: Optional[str],
client_id: Optional[str],
client_secret: Optional[str],
authority: Optional[str] = None,
job_ids: List[UUID] = [],
) -> None:
self.onefuzz.__setup__(
endpoint=endpoint,
client_id=client_id,
client_secret=client_secret,
authority=authority,
)
tester = TestOnefuzz(self.onefuzz, self.logger, test_id)
launch_result, repros = tester.launch_repro(job_ids=job_ids)
result = tester.check_repro(repros)
if not (result and launch_result):
raise Exception("repros failed")

def setup(
self,
*,
Expand Down Expand Up @@ -1465,18 +1443,6 @@ def check_results(
job_ids=job_ids,
)

if skip_repro:
self.logger.warning("not testing crash repro")
else:
self.check_repros(
test_id,
endpoint=endpoint,
authority=authority,
client_id=client_id,
client_secret=client_secret,
job_ids=job_ids,
)

def test_unmanaged(
self,
samples: Directory,
Expand Down
Loading

0 comments on commit d792b3b

Please sign in to comment.