Skip to content

Improving input tests #1433

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
Aug 31, 2022
Merged

Improving input tests #1433

merged 1 commit into from
Aug 31, 2022

Conversation

germa89
Copy link
Collaborator

@germa89 germa89 commented Aug 31, 2022

Sometimes the input tests fail mysteriously...

Updating tests and measuring times.

@germa89 germa89 added BUG CI/CD Related with CICD, Github Actions, etc labels Aug 31, 2022
@germa89 germa89 self-assigned this Aug 31, 2022
@codecov
Copy link

codecov bot commented Aug 31, 2022

Codecov Report

Merging #1433 (359f6ab) into main (3696595) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1433      +/-   ##
==========================================
- Coverage   79.79%   79.74%   -0.05%     
==========================================
  Files          43       43              
  Lines        6799     6799              
==========================================
- Hits         5425     5422       -3     
- Misses       1374     1377       +3     

@germa89
Copy link
Collaborator Author

germa89 commented Aug 31, 2022

The test_read_input_file tests takes A LOT of time, hence I'm going to replace/reduce it.

============================== slowest durations ===============================
22.92s call     tests/test_grpc.py::test_read_input_file[False-full26.dat]
6.53s setup    tests/test_mapdl.py::test_get_variable_nsol_esol_wrappers[False]
3.43s setup    tests/test_commands.py::test_output_listing[False-prnsol-args0]
2.36s call     tests/test_grpc.py::test_read_input_file[False-static.dat]
2.12s setup    tests/test_post.py::test_plot_nodal_contact_friction_stress[False]
2.12s setup    tests/test_mesh_grpc.py::test_tshape_key[False]
2.11s setup    tests/test_mesh_grpc.py::test_non_empty_mesh[False]
2.09s setup    tests/test_post.py::test_plot_incomplete_nodal_selection[False]
2.06s setup    tests/test_post.py::test_nodal_contact_friction_stress[False]
2.05s setup    tests/test_mesh_grpc.py::test_key_option[False]
2.03s setup    tests/test_post.py::test_plot_incomplete_element_selection[False]
1.83s setup    tests/test_post.py::test_nodal_plastic_component_strain[False-X]
1.82s call     tests/test_mapdl.py::test_cyclic_solve[False]
1.65s setup    tests/test_post.py::test_disp[False-X]
1.38s call     tests/test_math.py::test_matrix[False]
1.36s call     tests/test_grpc.py::test_large_output[False]
1.32s call     tests/test_grpc.py::test_cmatrix[False]
1.17s call     tests/test_mapdl.py::test_cdread_in_apdl_directory[False]
1.07s call     tests/test_grpc.py::test_read_input_file_verbose[False]
1.07s call     tests/test_post.py::test_general_plotter_returns[False]
1.06s call     tests/test_examples.py::test_bracket[False]
1.03s call     tests/test_grpc.py::test_clear_multiple[False]
0.75s call     tests/test_misc.py::test_plain_report

@akaszynski akaszynski merged commit 0168868 into main Aug 31, 2022
@akaszynski akaszynski deleted the feat/improve-input-tests branch August 31, 2022 14:17
@germa89 germa89 added this to the v0.63.2 milestone Aug 31, 2022
germa89 added a commit that referenced this pull request Sep 1, 2022
Updating tests and measuring times.
germa89 added a commit that referenced this pull request Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD Related with CICD, Github Actions, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants