chore: test skip

This commit is contained in:
Mo
2023-08-01 20:46:14 -05:00
parent 66d26ff44b
commit 4b6bd452f7
2 changed files with 9 additions and 3 deletions

View File

@@ -479,7 +479,11 @@ describe('online conflict handling', function () {
await this.sharedFinalAssertions()
})
it('handles stale data in bulk', async function () {
/**
* This test takes over 60s in a CI environment when running in Docker server.
* It's much faster in a home server environment but should still be skipped for now.
*/
it.skip('handles stale data in bulk', async function () {
/** This number must be greater than the pagination limit per sync request.
* For example if the limit per request is 150 items sent/received, this number should
* be something like 160. */

View File

@@ -528,7 +528,8 @@ describe('online syncing', function () {
await this.application.sync.sync(syncOptions)
})
it('should handle uploading with sync pagination', async function () {
/** This test takes 30s+ on a Docker server environment and should be skipped for now */
it.skip('should handle uploading with sync pagination', async function () {
const largeItemCount = SyncUpDownLimit + 10
for (let i = 0; i < largeItemCount; i++) {
const note = await Factory.createMappedNote(this.application)
@@ -542,7 +543,8 @@ describe('online syncing', function () {
expect(rawPayloads.length).to.equal(this.expectedItemCount)
}).timeout(Factory.SixtySecondTimeout)
it('should handle downloading with sync pagination', async function () {
/** This test takes 30s+ on a Docker server environment and should be skipped for now */
it.skip('should handle downloading with sync pagination', async function () {
const largeItemCount = SyncUpDownLimit + 10
for (let i = 0; i < largeItemCount; i++) {
const note = await Factory.createMappedNote(this.application)