mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2026-02-17 22:38:27 +08:00
Remove cancel timeouts.
This commit is contained in:
@@ -79,7 +79,6 @@ namespace S7.Net.UnitTest
|
||||
var requestData = new byte[100]; // empty data, it does not matter what is in there
|
||||
|
||||
// Set up access to private method and field
|
||||
cancellationSource.CancelAfter(TimeSpan.FromMilliseconds(5));
|
||||
var dynMethod = plc.GetType().GetMethod("NoLockRequestTpduAsync",
|
||||
BindingFlags.NonPublic | BindingFlags.Instance);
|
||||
if (dynMethod == null)
|
||||
@@ -135,7 +134,6 @@ namespace S7.Net.UnitTest
|
||||
var requestData = new byte[100]; // empty data, it does not matter what is in there
|
||||
|
||||
// Set up access to private method and field
|
||||
cancellationSource.CancelAfter(TimeSpan.FromMilliseconds(5));
|
||||
var dynMethod = plc.GetType().GetMethod("NoLockRequestTpduAsync",
|
||||
BindingFlags.NonPublic | BindingFlags.Instance);
|
||||
if (dynMethod == null)
|
||||
|
||||
Reference in New Issue
Block a user