Skip to content

test_scanspec is creating 2GB of test files #1268

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

Open
rtuck99 opened this issue Jun 6, 2025 · 0 comments · May be fixed by #1270
Open

test_scanspec is creating 2GB of test files #1268

rtuck99 opened this issue Jun 6, 2025 · 0 comments · May be fixed by #1270

Comments

@rtuck99
Copy link
Contributor

rtuck99 commented Jun 6, 2025

A few runs of dodal unit tests managed to completely fill my /tmp drive to the point where I could no longer log back in to my desktop:

If you run tox -e tests, then go into the pytest tmp folder and do

(.venv) [yqf46943@ws502 pytest-342]$ du -sh * | grep test_plan_produces
76M     test_plan_produces_expected_da0
76M     test_plan_produces_expected_da1
76M     test_plan_produces_expected_da2
76M     test_plan_produces_expected_da3
4.0K    test_plan_produces_expected_da4
4.0K    test_plan_produces_expected_da5
0       test_plan_produces_expected_dacurrent
76M     test_plan_produces_expected_de0
76M     test_plan_produces_expected_de1
76M     test_plan_produces_expected_de2
76M     test_plan_produces_expected_de3
76M     test_plan_produces_expected_de4
0       test_plan_produces_expected_decurrent
76M     test_plan_produces_expected_ev0
76M     test_plan_produces_expected_ev1
76M     test_plan_produces_expected_ev2
76M     test_plan_produces_expected_ev3
64M     test_plan_produces_expected_ev4
4.0K    test_plan_produces_expected_ev5
0       test_plan_produces_expected_evcurrent
76M     test_plan_produces_expected_re0
76M     test_plan_produces_expected_re1
76M     test_plan_produces_expected_re2
76M     test_plan_produces_expected_re3
4.0K    test_plan_produces_expected_re4
4.0K    test_plan_produces_expected_re5
0       test_plan_produces_expected_recurrent
76M     test_plan_produces_expected_st0
76M     test_plan_produces_expected_st1
76M     test_plan_produces_expected_st10
76M     test_plan_produces_expected_st11
76M     test_plan_produces_expected_st2
76M     test_plan_produces_expected_st3
76M     test_plan_produces_expected_st4
76M     test_plan_produces_expected_st5
76M     test_plan_produces_expected_st6
76M     test_plan_produces_expected_st7
76M     test_plan_produces_expected_st8
76M     test_plan_produces_expected_st9
0       test_plan_produces_expected_stcurrent
@rtuck99 rtuck99 changed the title test_adsim is creating 2GB of test files test_scanspec is creating 2GB of test files Jun 6, 2025
@rtuck99 rtuck99 linked a pull request Jun 6, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant