mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +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:
parent
05d8976c5b
commit
6e391afa62
@ -174,8 +174,10 @@ describe('AdminPanel', function() {
|
||||
it('should show version', async function() {
|
||||
await driver.get(`${server.getHost()}/admin`);
|
||||
await waitForAdminPanel();
|
||||
await gu.waitToPass(async () => {
|
||||
assert.equal(await driver.find('.test-admin-panel-item-version').isDisplayed(), true);
|
||||
assert.match(await driver.find('.test-admin-panel-item-value-version').getText(), /^Version \d+\./);
|
||||
}, 3000);
|
||||
});
|
||||
|
||||
it('should show sandbox', async function() {
|
||||
@ -185,7 +187,7 @@ describe('AdminPanel', function() {
|
||||
await gu.waitToPass(
|
||||
// unknown for grist-saas, unconfigured for grist-core.
|
||||
async () => assert.match(await driver.find('.test-admin-panel-item-value-sandboxing').getText(),
|
||||
/^((unknown)|(unconfigured))/),
|
||||
/^((Error: unknown)|(unconfigured))/),
|
||||
3000,
|
||||
);
|
||||
// It would be good to test other scenarios, but we are using
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user