Skip to content

Commit 3c105d2

Browse files
committed
| tr ' ' '\n'
1 parent 8c043e8 commit 3c105d2

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.azure/gpu-tests-fabric.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,14 @@ jobs:
137137
- bash: python -m coverage run --source ${COVERAGE_SOURCE} -m pytest tests_fabric/ -v --durations=50
138138
workingDirectory: tests/
139139
displayName: "Testing: fabric standard"
140-
timeoutInMinutes: "15"
140+
timeoutInMinutes: "10"
141141

142142
- bash: bash ./run_standalone_tests.sh "tests_fabric"
143143
workingDirectory: tests/
144144
env:
145145
PL_STANDALONE_TESTS_SOURCE: $(COVERAGE_SOURCE)
146146
displayName: "Testing: fabric standalone"
147-
timeoutInMinutes: "20"
147+
timeoutInMinutes: "10"
148148

149149
- bash: |
150150
python -m coverage report

.azure/gpu-tests-pytorch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,15 +158,15 @@ jobs:
158158
- bash: python -m coverage run --source ${COVERAGE_SOURCE} -m pytest tests_pytorch/ -v --durations=50
159159
workingDirectory: tests/
160160
displayName: "Testing: PyTorch standard"
161-
timeoutInMinutes: "45"
161+
timeoutInMinutes: "35"
162162

163163
- bash: bash ./run_standalone_tests.sh "tests_pytorch"
164164
workingDirectory: tests/
165165
env:
166166
PL_USE_MOCKED_MNIST: "1"
167167
PL_STANDALONE_TESTS_SOURCE: $(COVERAGE_SOURCE)
168168
displayName: "Testing: PyTorch standalone tests"
169-
timeoutInMinutes: "45"
169+
timeoutInMinutes: "35"
170170

171171
- bash: bash run_standalone_tasks.sh
172172
workingDirectory: tests/tests_pytorch

tests/run_standalone_tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ tests=($(grep -oP '\S+::test_\S+' "$COLLECTED_TESTS_FILE"))
4949
test_count=${#tests[@]}
5050
# present the collected tests
5151
printf "collected $test_count tests:\n-------------------\n"
52-
echo $(IFS='\n'; echo "${tests[@]}")
52+
# replace space with new line
53+
echo "${tests[@]}" | tr ' ' '\n'
5354
printf "\n===================\n"
5455

5556
# if test count is one print warning

0 commit comments

Comments
 (0)