forked from Azure/iotedge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove timing from PriorityQueue E2E tests (Azure#2762)
* Making PriorityQueue tests TimingProof. * Now, load-gen and Relayer will both notify the test when they are complete. In that way, we don't have to wait with delays that would need to be configured for each platform. * We do this by using a Direct Method on both modules. We poll every five seconds after the module starts up to see if it has completed yet.
- Loading branch information
1 parent
d2bb21d
commit 46c2ef0
Showing
5 changed files
with
127 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
test/modules/ModuleLib/TestResults/PriorityQueueTestStatus.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright (c) Microsoft. All rights reserved. | ||
namespace Microsoft.Azure.Devices.Edge.ModuleUtil.TestResults | ||
{ | ||
using Microsoft.Azure.Devices.Edge.Util; | ||
|
||
public class PriorityQueueTestStatus | ||
{ | ||
public PriorityQueueTestStatus(bool isFinished, int resultCount) | ||
{ | ||
this.IsFinished = isFinished; | ||
this.ResultCount = resultCount; | ||
} | ||
|
||
public bool IsFinished { get; } | ||
|
||
public int ResultCount { get; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters