diff options
author | Valery Piashchynski <[email protected]> | 2021-08-12 11:28:45 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-08-12 11:28:45 +0300 |
commit | 4169e8374f581ba2213f8cd1833cc6b9b84438e8 (patch) | |
tree | b1d911fbd0ef5960c0513553d8be94809db8b14b /tests/jobs_ok.php | |
parent | bf2f7167ae49ecac981c7c18a9b9b496fd0a514c (diff) |
Fix various bugs in the SQS. Implement SQS tests for the
jobs_ok.php/jobs_err.php workers.
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/jobs_ok.php')
-rw-r--r-- | tests/jobs_ok.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/jobs_ok.php b/tests/jobs_ok.php index fa58dd9a..4e786d15 100644 --- a/tests/jobs_ok.php +++ b/tests/jobs_ok.php @@ -19,12 +19,7 @@ while ($in = $rr->waitPayload()) { $rr->respond(new RoadRunner\Payload(json_encode([ 'type' => 0, - 'data' => [ - 'message' => 'error', - 'requeue' => true, - 'delay_seconds' => 10, - 'headers' => $headers - ] + 'data' => [] ]))); } catch (\Throwable $e) { $rr->error((string)$e); |