Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Disable processRecurrence tests #10642

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions packages/server/__tests__/processRecurrence.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ beforeAll(async () => {
})
})

test('Should not end meetings that are not scheduled to end', async () => {
// TODO all these tests regularly timeout or the tests influence each other
test.skip('Should not end meetings that are not scheduled to end', async () => {
const pg = getKysely()

const meetingId = generateUID()
Expand Down Expand Up @@ -118,7 +119,8 @@ test('Should not end meetings that are not scheduled to end', async () => {
expect(actualMeeting.endedAt).toBeFalsy()
})

test('Should not end meetings that are scheduled to end in the future', async () => {
// TODO s.a.
test.skip('Should not end meetings that are scheduled to end in the future', async () => {
const pg = getKysely()

const meetingId = generateUID()
Expand Down Expand Up @@ -165,7 +167,8 @@ test('Should not end meetings that are scheduled to end in the future', async ()
await pg.deleteFrom('NewMeeting').where('id', '=', meetingId).execute()
})

test('Should end meetings that are scheduled to end in the past', async () => {
// TODO s.a.
test.skip('Should end meetings that are scheduled to end in the past', async () => {
const pg = getKysely()

const meetingId = generateUID()
Expand Down Expand Up @@ -211,7 +214,8 @@ test('Should end meetings that are scheduled to end in the past', async () => {
expect(actualMeeting.endedAt).toBeTruthy()
}, 10000)

test('Should end the current team prompt meeting and start a new meeting', async () => {
// TODO s.a.
test.skip('Should end the current team prompt meeting and start a new meeting', async () => {
const pg = getKysely()
const startDate = dayjs().utc().subtract(2, 'day').set('hour', 9)
const dateTime = toDateTime(startDate, 'UTC')
Expand Down Expand Up @@ -287,7 +291,8 @@ RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU`
})
})

test('Should end the current retro meeting and start a new meeting', async () => {
// TODO s.a.
test.skip('Should end the current retro meeting and start a new meeting', async () => {
const pg = getKysely()

// Create a meeting series that's been going on for a few days, and happens daily at 9a UTC.
Expand Down Expand Up @@ -368,7 +373,8 @@ RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU`
})
})

test('Should only start a new meeting if it would still be active', async () => {
// TODO s.a.
test.skip('Should only start a new meeting if it would still be active', async () => {
const pg = getKysely()

const startDate = dayjs().utc().subtract(2, 'day').set('hour', 9)
Expand Down Expand Up @@ -433,7 +439,8 @@ RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU`
expect(actualMeeting.endedAt).toBeTruthy()
}, 10000)

test('Should not start a new meeting if the rrule has not started', async () => {
// TODO s.a.
test.skip('Should not start a new meeting if the rrule has not started', async () => {
const pg = getKysely()

const startDate = dayjs().utc().add(1, 'day').set('hour', 9)
Expand Down Expand Up @@ -498,7 +505,8 @@ RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU`
expect(actualMeeting.endedAt).toBeTruthy()
})

test('Should not hang if the rrule interval is invalid', async () => {
// TODO s.a.
test.skip('Should not hang if the rrule interval is invalid', async () => {
const pg = getKysely()

const startDate = dayjs().utc().subtract(2, 'day').set('hour', 9)
Expand Down
Loading