[PR #31] [MERGED] Create asynqtest internal package for test helpers #1568

Closed
opened 2026-03-07 22:11:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynq/pull/31
Author: @hibiken
Created: 12/29/2019
Status: Merged
Merged: 12/29/2019
Merged by: @hibiken

Base: masterHead: enhancement/test


📝 Commits (4)

  • 80d417a Clean up rdb package
  • 931a446 Rename poller to scheduler
  • 2a0fad1 Create internal asynqtest package for test helpers
  • 99466d6 Use asynqtest helpers in asynq package tests

📊 Changes

13 files changed (+925 additions, -1060 deletions)

View changed files

📝 asynq_test.go (+2 -84)
📝 background.go (+5 -5)
📝 client_test.go (+10 -22)
internal/asynqtest/asynqtest.go (+223 -0)
internal/rdb/helpers_test.go (+0 -156)
📝 internal/rdb/inspect_test.go (+353 -421)
📝 internal/rdb/rdb.go (+10 -12)
📝 internal/rdb/rdb_test.go (+154 -142)
poller.go (+0 -53)
poller_test.go (+0 -117)
📝 processor_test.go (+28 -48)
scheduler.go (+53 -0)
scheduler_test.go (+87 -0)

📄 Description

Closes #23


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hibiken/asynq/pull/31 **Author:** [@hibiken](https://github.com/hibiken) **Created:** 12/29/2019 **Status:** ✅ Merged **Merged:** 12/29/2019 **Merged by:** [@hibiken](https://github.com/hibiken) **Base:** `master` ← **Head:** `enhancement/test` --- ### 📝 Commits (4) - [`80d417a`](https://github.com/hibiken/asynq/commit/80d417a607c5b9c2b32641a8f5a5b69d7641a3e7) Clean up rdb package - [`931a446`](https://github.com/hibiken/asynq/commit/931a4460d2b496793748652bb3632a51a73e83dd) Rename poller to scheduler - [`2a0fad1`](https://github.com/hibiken/asynq/commit/2a0fad1ba74795e4d7bc382e0076d5214f771227) Create internal asynqtest package for test helpers - [`99466d6`](https://github.com/hibiken/asynq/commit/99466d653f25585e9c8cbdb17f67197a8b92c0b8) Use asynqtest helpers in asynq package tests ### 📊 Changes **13 files changed** (+925 additions, -1060 deletions) <details> <summary>View changed files</summary> 📝 `asynq_test.go` (+2 -84) 📝 `background.go` (+5 -5) 📝 `client_test.go` (+10 -22) ➕ `internal/asynqtest/asynqtest.go` (+223 -0) ➖ `internal/rdb/helpers_test.go` (+0 -156) 📝 `internal/rdb/inspect_test.go` (+353 -421) 📝 `internal/rdb/rdb.go` (+10 -12) 📝 `internal/rdb/rdb_test.go` (+154 -142) ➖ `poller.go` (+0 -53) ➖ `poller_test.go` (+0 -117) 📝 `processor_test.go` (+28 -48) ➕ `scheduler.go` (+53 -0) ➕ `scheduler_test.go` (+87 -0) </details> ### 📄 Description Closes #23 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-07 22:11:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#1568
No description provided.