Skip to content

Commit

Permalink
test integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
melaniekung committed Feb 6, 2025
1 parent 60027de commit 5b96c91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- qa/**
- stable/**
- dev/integration-test-test
jobs:
integration-tests:
runs-on: ubuntu-24.04
Expand Down
2 changes: 1 addition & 1 deletion lib/model/QubitJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ private static function checkWorkerAvailable($jobName)
$status = $manager->status();

if (!array_key_exists($jobName, $status) || !$status[$jobName]['capable_workers']) {
return false;
throw new Net_Gearman_Exception($jobName . " -> " . array_keys($status));
}

return true;
Expand Down

0 comments on commit 5b96c91

Please sign in to comment.