#!/bin/bash # Test Group 1: Upgrade & Downgrade Tests # Description: Tests for product upgrades and downgrades # Source shared configuration source "$(dirname "$0")/config.sh" # Run tests using TypeScript runner with compact mode # Adjust --max to control concurren.cy (default: 6) export TEST_FILE_CONCURRENCY=4 BUN_PARALLEL_V2 \ 'integration/balances' \ 'balances/track/basic' \ 'balances/track/concurrency' \ 'balances/track/breakdown' \ 'balances/track/entity-products' \ 'balances/track/legacy' \ 'balances/track/allocated' \ 'balances/track/entity-balances' \ 'balances/track/rollovers' \ 'balances/track/race-condition' \ 'balances/track/paid-allocated' \ 'balances/check/breakdown' \ 'balances/track/loose' \ 'balances/check/credit-systems' \ 'balances/check/send-event' \ 'balances/check/loose' \ --max=6