(core) change version of redis used in Jenkins tests

Summary:
This upgrades redis in Jenkins tests to be compatible
with BullMQ.

Test Plan: reactivates skipped tests

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D4362
This commit is contained in:
Paul Fitzpatrick
2024-10-03 17:23:39 -04:00
parent 05d8976c5b
commit 6e391afa62
2 changed files with 9 additions and 7 deletions

View File

@@ -45,8 +45,7 @@ describe('GristJobs', function() {
}
});
// FIXME: unskip this and the following test once Jenkins failures are resolved.
it.skip('can run delayed jobs', async function() {
it('can run delayed jobs', async function() {
const jobs: GristJobs = new GristBullMQJobs();
const q = jobs.queue();
try {
@@ -73,7 +72,7 @@ describe('GristJobs', function() {
}
});
it.skip('can run repeated jobs', async function() {
it('can run repeated jobs', async function() {
const jobs: GristJobs = new GristBullMQJobs();
const q = jobs.queue();
try {
@@ -102,7 +101,8 @@ describe('GristJobs', function() {
it('can pick up jobs again', async function() {
// this test is only appropriate if we have an external queue.
if (!process.env.REDIS_URL) { this.skip(); }
if (!process.env.REDIS_URL &&
!process.env.TEST_REDIS_URL) { this.skip(); }
const jobs1: GristJobs = new GristBullMQJobs();
const q = jobs1.queue();
try {