File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change 52
52
# pyre currently does not check these assertions
53
53
pyright python/tests/test_python_actors.py
54
54
55
- # Run GPU Python tests
56
- LC_ALL=C pytest python/tests/ -s -v -m "not oss_skip"
55
+ # Run GPU Python tests split into 10 groups sequentially
56
+ # Each group runs separately with process cleanup in between
57
+ for GROUP in {1..10}; do
58
+ echo "Running test group $GROUP of 10..."
59
+
60
+ # Kill any existing Python processes to ensure clean state
61
+ echo "Cleaning up Python processes before group $GROUP..."
62
+ pkill -9 python || true
63
+ pkill -9 pytest || true
64
+
65
+ # Wait a moment for processes to terminate
66
+ sleep 2
67
+
68
+ # Run tests for this group
69
+ LC_ALL=C pytest python/tests/ -s -v -m "not oss_skip" \
70
+ --dist=no \
71
+ --group=$GROUP \
72
+ --splits=10 || {
73
+ echo "Test group $GROUP failed with exit code $?"
74
+ exit 1
75
+ }
76
+
77
+ echo "Completed test group $GROUP of 10"
78
+ done
79
+
80
+ echo "All test groups completed successfully!"
57
81
# TODO(meriksen): temporarily disabled to unblock lands while debugging
58
82
# mock CUDA issues on the OSS setup
59
83
# python python/tests/test_mock_cuda.py
You can’t perform that action at this time.
0 commit comments