Skip to content

Conversation

@bkeryan
Copy link
Collaborator

@bkeryan bkeryan commented Oct 13, 2023

What does this Pull Request accomplish?

Avoid NISWITCH_ERROR_INVALID_RESOURCE_DESCRIPTOR when setting simulate=True for create_niswitch_session(s).

Why should this Pull Request be merged?

Fixes a bug found while updating examples.

What testing has been done?

Ran updated unit tests.
Manually tested with updated examples.

@github-actions
Copy link
Contributor

Test Results

       30 files  ±  0       30 suites  ±0   25m 34s ⏱️ +23s
     452 tests +  1     376 ✔️ +  1       76 💤 ±  0  0 ±0 
13 530 runs  +30  9 650 ✔️ +15  3 880 💤 +15  0 ±0 

Results for commit f949903. ± Comparison against base commit 1fdb753.

This pull request removes 1 and adds 2 tests. Note that renamed tests count towards both.
tests.unit._drivers.test_niswitch ‑ test___optional_args___create_niswitch_session___optional_args_passed
tests.unit._drivers.test_niswitch ‑ test___optional_args___create_niswitch_session___optional_args_passed[False-Dev0]
tests.unit._drivers.test_niswitch ‑ test___optional_args___create_niswitch_session___optional_args_passed[True-]

@bkeryan bkeryan merged commit 463b3d0 into main Oct 13, 2023
@bkeryan bkeryan deleted the users/bkeryan/niswitch-simulation branch October 13, 2023 14:51
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 this pull request may close these issues.

3 participants