fix(workspace): make ci stable (#5496)

This commit is contained in:
EYHN
2024-01-02 12:21:35 +00:00
parent 104c21d84c
commit 54c6b445ea
2 changed files with 11 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ describe('SyncEngine', () => {
let prev: any;
{
const workspace = new Workspace({
id: 'test',
id: 'test - syncengine - indexeddb',
schema,
});
@@ -54,7 +54,7 @@ describe('SyncEngine', () => {
{
const workspace = new Workspace({
id: 'test',
id: 'test - syncengine - indexeddb',
schema,
});
@@ -73,7 +73,7 @@ describe('SyncEngine', () => {
{
const workspace = new Workspace({
id: 'test',
id: 'test - syncengine - indexeddb',
schema,
});
@@ -92,7 +92,7 @@ describe('SyncEngine', () => {
{
const workspace = new Workspace({
id: 'test',
id: 'test - syncengine - indexeddb',
schema,
});
@@ -111,10 +111,12 @@ describe('SyncEngine', () => {
});
test('status', async () => {
const ydoc = new Doc({ guid: 'test - status' });
const ydoc = new Doc({ guid: 'test - syncengine - status' });
const localStorage = createTestStorage(createIndexedDBStorage(ydoc.guid));
const remoteStorage = createTestStorage(createIndexedDBStorage(ydoc.guid));
const remoteStorage = createTestStorage(
createIndexedDBStorage(ydoc.guid + '1')
);
localStorage.pausePull();
localStorage.pausePush();

View File

@@ -20,7 +20,7 @@ describe('SyncPeer', () => {
let prev: any;
{
const workspace = new Workspace({
id: 'test',
id: 'test - syncpeer - indexeddb',
schema,
});
@@ -48,7 +48,7 @@ describe('SyncPeer', () => {
{
const workspace = new Workspace({
id: 'test',
id: 'test - syncpeer - indexeddb',
schema,
});
@@ -66,7 +66,7 @@ describe('SyncPeer', () => {
test('status', async () => {
const workspace = new Workspace({
id: 'test - status',
id: 'test - syncpeer - status',
schema,
});