mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2026-02-17 14:28:25 +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
|
var requestData = new byte[100]; // empty data, it does not matter what is in there
|
||||||
|
|
||||||
// Set up access to private method and field
|
// Set up access to private method and field
|
||||||
cancellationSource.CancelAfter(TimeSpan.FromMilliseconds(5));
|
|
||||||
var dynMethod = plc.GetType().GetMethod("NoLockRequestTpduAsync",
|
var dynMethod = plc.GetType().GetMethod("NoLockRequestTpduAsync",
|
||||||
BindingFlags.NonPublic | BindingFlags.Instance);
|
BindingFlags.NonPublic | BindingFlags.Instance);
|
||||||
if (dynMethod == null)
|
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
|
var requestData = new byte[100]; // empty data, it does not matter what is in there
|
||||||
|
|
||||||
// Set up access to private method and field
|
// Set up access to private method and field
|
||||||
cancellationSource.CancelAfter(TimeSpan.FromMilliseconds(5));
|
|
||||||
var dynMethod = plc.GetType().GetMethod("NoLockRequestTpduAsync",
|
var dynMethod = plc.GetType().GetMethod("NoLockRequestTpduAsync",
|
||||||
BindingFlags.NonPublic | BindingFlags.Instance);
|
BindingFlags.NonPublic | BindingFlags.Instance);
|
||||||
if (dynMethod == null)
|
if (dynMethod == null)
|
||||||
|
|||||||
Reference in New Issue
Block a user