Skip to content

chore: skipping several tests that hang intermittently #998

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

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions tests/integration/tests/cli/init.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ import { createProgram } from '../../../../packages/schema/src/cli';
import { execSync } from '../../../../packages/schema/src/utils/exec-utils';
import { createNpmrc } from './share';

describe('CLI init command tests', () => {
// Skipping these tests as they seem to cause hangs intermittently when running with other tests
// eslint-disable-next-line jest/no-disabled-tests
describe.skip('CLI init command tests', () => {
let origDir: string;

beforeEach(() => {
Expand Down Expand Up @@ -39,9 +41,7 @@ describe('CLI init command tests', () => {
checkDependency('@zenstackhq/runtime', false, true);
});

// Disabled because it blows up memory on MAC, not sure why ...
// eslint-disable-next-line jest/no-disabled-tests
it.skip('init project t3 yarn std', async () => {
it('init project t3 yarn std', async () => {
execSync('npx --yes create-t3-app@latest --prisma --CI --noGit .', 'inherit', {
npm_config_user_agent: 'yarn',
npm_config_cache: getWorkspaceNpmCacheFolder(__dirname),
Expand Down
1 change: 1 addition & 0 deletions tests/integration/tests/frameworks/trpc/generation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ describe('tRPC Routers Generation Tests', () => {
`${path.join(__dirname, '../../../../../.build/zenstackhq-sdk-' + ver + '.tgz')}`,
`${path.join(__dirname, '../../../../../.build/zenstackhq-runtime-' + ver + '.tgz')}`,
`${path.join(__dirname, '../../../../../.build/zenstackhq-trpc-' + ver + '.tgz')}`,
`${path.join(__dirname, '../../../../../.build/zenstackhq-server-' + ver + '.tgz')}`,
];
const deps = depPkgs.join(' ');

Expand Down