Skip to content

Commit ae486c9

Browse files
committed
fix: resolve Jest worker SIGKILL and hanging process issues
- Add sendEof() to In-App Messaging case to prevent hanging processes - Add notifications-analytics-compatibility-in-app-2.test.ts to RUN_SOLO to prevent Jest worker memory issues
1 parent 9567edd commit ae486c9

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

packages/amplify-e2e-core/src/categories/notifications.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const addNotificationChannel = async (
6969
break;
7070
}
7171
case 'In-App Messaging': {
72-
return chain.wait(`Run "amplify push" to update the channel in the cloud`).runAsync();
72+
return chain.wait(`Run "amplify push" to update the channel in the cloud`).sendEof().runAsync();
7373
}
7474
default:
7575
break;

scripts/split-e2e-tests-codebuild.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const RUN_SOLO = [
3636
'src/__tests__/import_s3_2b.test.ts',
3737
'src/__tests__/import_s3_2c.test.ts',
3838
'src/__tests__/import_s3_3.test.ts',
39+
'src/__tests__/notifications-analytics-compatibility-in-app-2.test.ts',
3940
'src/__tests__/notifications-in-app-messaging.test.ts',
4041
'src/__tests__/schema-auth-11-a.test.ts',
4142
'src/__tests__/schema-auth-15.test.ts',

0 commit comments

Comments
 (0)