mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user