Skip to content
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

[Internal] [Work in Progress] Fix tests that causes LabVIEW hang #514

Closed
wants to merge 13 commits into from
5 changes: 5 additions & 0 deletions .github/workflows/run_g_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ jobs:
Start-Process "C:\\Program Files\\National Instruments\\LabVIEW ${{ matrix.version }}\\LabVIEW.exe"
Start-Sleep 60

- name: Run Discovery Service
run: |
Start-Process -FilePath "C:\\Program Files\\National Instruments\\Shared\\MeasurementLink\\Discovery\\NationalInstruments.MeasurementLink.DiscoveryService.exe" -WorkingDirectory "C:\\Program Files\\National Instruments\\Shared\\MeasurementLink\\Discovery"
Start-Sleep 10

- name: Run G Tests
run:
python ${{runner.workspace}}/measurementlink-labview/Source/Tests/run_tests.py --labview-path "C:\Program Files\National Instruments\LabVIEW ${{ matrix.version }}\LabVIEW.exe" --port-number ${{ matrix.port }}
Expand Down
4 changes: 0 additions & 4 deletions Source/Runtime/Measurement Server.lvproj
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,6 @@
<Item Name="LVBoundsTypeDef.ctl" Type="VI" URL="/&lt;vilib&gt;/Utility/miscctls.llb/LVBoundsTypeDef.ctl"/>
<Item Name="BuildHelpPath.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/BuildHelpPath.vi"/>
<Item Name="GetHelpDir.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/GetHelpDir.vi"/>
<Item Name="VISA gRPC Options.ctl" Type="VI" URL="/&lt;vilib&gt;/NI-VISA/VISA gRPC Options.ctl"/>
<Item Name="VISA Format gRPC Resource Name.vi" Type="VI" URL="/&lt;vilib&gt;/NI-VISA/VISA Format gRPC Resource Name.vi"/>
<Item Name="VISA Format gRPC URI.vi" Type="VI" URL="/&lt;vilib&gt;/NI-VISA/VISA Format gRPC URI.vi"/>
<Item Name="ni.protobuf.types.lvlib" Type="Library" URL="/&lt;vilib&gt;/gRPC/Generated APIs/ni/protobuf/types/ni.protobuf.types.lvlib"/>
</Item>
<Item Name="instr.lib" Type="Folder">
<Item Name="niDCPower Initialize With Independent Channels for gRPC session.vi" Type="VI" URL="/&lt;instrlib&gt;/niDCPower/nidcpower.llb/niDCPower Initialize With Independent Channels for gRPC session.vi"/>
Expand Down
MounikaBattu17 marked this conversation as resolved.
Show resolved Hide resolved
Binary file not shown.
MounikaBattu17 marked this conversation as resolved.
Show resolved Hide resolved
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
<Item Name="Restart Discovery Service.vi" Type="VI" URL="../Helpers/Restart Discovery Service.vi"/>
<Item Name="Fake Session Factory.lvclass" Type="LVClass" URL="../Helpers/Fake Session Factory/Fake Session Factory.lvclass"/>
<Item Name="Kill Pin Map Service.vi" Type="VI" URL="../Helpers/Kill Pin Map Service.vi"/>
<Item Name="Wait For Key File.vi" Type="VI" URL="../Helpers/Wait For Key File.vi"/>
<Item Name="Start Discovery Service.vi" Type="VI" URL="../Helpers/Start Discovery Service.vi"/>
</Item>
<Item Name="Close Sessions" Type="Folder">
<Item Name="Test Inputs" Type="Folder">
Expand Down
8 changes: 1 addition & 7 deletions Source/Tests/skip_tests.lst
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
test_DefaultTemplateMeasurement_GetUiDetails_CorrectUiPathUrl.vi
test_NoServicesRegistered_InvalidRegisterRequests_Error.vi
test_SingleServiceRegistered_DiscoveryApiRoundTrip_AllNodesSucceed.vi
test_SingleServiceRegistered_InvalidResolveRequests_Error.vi
test_DiscoveryServiceNotRunning_LaunchDiscoveryService_DiscoveryServiceStarted.vi
test_DiscoveryWrapper_StopDiscoveryService_WrapperMethodsWorkWithoutError.vi
test_SessionManagerWrapper_StopSessionManagementService_WrapperMethodsWorkWithoutError.vi
test_DefaultTemplateMeasurement_GetUiDetails_CorrectUiPathUrl.vi
Loading