mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-15 19:38:11 +00:00
[WIP] migrate timer_proxy (#1820)
This commit is contained in:
@ -89,7 +89,7 @@ namespace Tests
|
||||
|
||||
public static Gen<Proxy> Proxy()
|
||||
{
|
||||
return Arb.Generate<Tuple<Tuple<string, Guid, DateTimeOffset?, VmState, Authentication, string?, Error?>, Tuple<string, ProxyHeartbeat?>>>().Select(
|
||||
return Arb.Generate<Tuple<Tuple<string, Guid, DateTimeOffset?, VmState, Authentication, string?, Error?>, Tuple<string, ProxyHeartbeat?, bool>>>().Select(
|
||||
arg =>
|
||||
new Proxy(
|
||||
Region: arg.Item1.Item1,
|
||||
@ -100,7 +100,8 @@ namespace Tests
|
||||
Ip: arg.Item1.Item6,
|
||||
Error: arg.Item1.Item7,
|
||||
Version: arg.Item2.Item1,
|
||||
Heartbeat: arg.Item2.Item2
|
||||
Heartbeat: arg.Item2.Item2,
|
||||
Outdated: arg.Item2.Item3
|
||||
)
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user