redis-huey #84

Merged
houkime merged 8 commits from redis-huey into master 2024-03-20 14:19:07 +02:00
Collaborator
  • Use RedisHuey.
  • Test that enqueuing actually works with redis, both socket and port

Fixes #74

* Use RedisHuey. * Test that enqueuing actually works with redis, both socket and port Fixes #74
houkime added 3 commits 2024-01-19 17:43:44 +02:00
22849dd035 test(huey): break out preparing the environment vars
I did it for testing redis socketing too, but I guess this will wait for
another time. Somehow it worked even without an actual redis socket and it was
creepy. Idk yet how one can best make redis to make sockets at arbitrary
temporary dirs without starting another redis.
continuous-integration/drone/push Build is failing Details
f1c0d16e61
use kill() instead of terminate in huey tests
houkime requested review from inex 2024-01-22 12:13:44 +02:00
inex requested changes 2024-01-23 12:56:32 +02:00
@ -2,3 +2,4 @@ from selfprivacy_api.utils.huey import huey
from selfprivacy_api.jobs.test import test_job
from selfprivacy_api.backup.tasks import *
from selfprivacy_api.services.generic_service_mover import move_service
from tests.test_huey import sum

Will it be reasonable to conditionally import this if we are running in a test environment?

Will it be reasonable to conditionally import this if we are running in a test environment?
houkime marked this conversation as resolved
@ -1,16 +1,23 @@
"""MiniHuey singleton."""
import os

This in an unused import now.

This in an unused import now.
houkime marked this conversation as resolved
@ -0,0 +1,48 @@
import pytest
from subprocess import Popen
from os import environ, path

os.path is unused

`os.path` is unused
houkime marked this conversation as resolved
houkime added 3 commits 2024-01-24 14:42:47 +02:00
houkime requested review from inex 2024-01-24 14:43:47 +02:00
houkime changed title from redis-huey to WIP: redis-huey 2024-01-24 14:45:49 +02:00
houkime added a new dependency 2024-01-24 14:46:02 +02:00
houkime force-pushed redis-huey from 8b8523be8d to 8d2cf37605 2024-03-06 17:10:01 +02:00 Compare
houkime changed title from WIP: redis-huey to redis-huey 2024-03-06 17:12:05 +02:00
houkime force-pushed redis-huey from 8d2cf37605 to c31e5887f1 2024-03-08 09:27:04 +02:00 Compare
houkime force-pushed redis-huey from c31e5887f1 to 3e44b3999f 2024-03-15 13:26:21 +02:00 Compare
houkime force-pushed redis-huey from 3e44b3999f to 6f38b2309f 2024-03-18 14:30:59 +02:00 Compare
houkime added 1 commit 2024-03-20 11:04:17 +02:00
continuous-integration/drone/push Build is passing Details
9ee72c1fcb
test(huey): make timeout more so that vm gets it in time
inex approved these changes 2024-03-20 14:16:55 +02:00
houkime merged commit 5e93e6499f into master 2024-03-20 14:19:07 +02:00
Sign in to join this conversation.
There is no content yet.