Skip to content

Commit

Permalink
Give some time for the server to create the Diagnostic items and inse…
Browse files Browse the repository at this point in the history
…rt them into the object model
  • Loading branch information
Archie-Miller committed Nov 28, 2024
1 parent c32a7fc commit e8036aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/Opc.Ua.Client.Tests/DurableSubscriptionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,9 @@ public async Task TestSessionTransfer(bool setSubscriptionDurable)
Assert.True(Session.AddSubscription(subscription));
subscription.Create();

// Give some time to allow for the true browse of items
await Task.Delay(500).ConfigureAwait(false);

Dictionary<string, NodeId> desiredNodeIds = GetDesiredNodeIds(subscription.Id);
Dictionary<string, object> initialValues = GetValues(desiredNodeIds);

Expand Down

0 comments on commit e8036aa

Please sign in to comment.