mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-24 03:50:57 +00:00
Deadlock tests
This commit is contained in:
1 parent
3dc36149b7
commit
2431166f25
25 files changed
+2160
-157
No files matched your search
@@ -0,0 +1,19 @@
|
||||
using Esiur.Resource;
|
||||
using Esiur.Tests.Deadlock.Server;
|
||||
|
||||
/// <summary>
|
||||
/// Resource used to build reference topologies (cycles, cross-references) for the distributed
|
||||
/// deadlock test. <see cref="Links"/> holds references to other nodes; fetching a node transitively
|
||||
/// fetches its links, which is what exercises EpConnection.FetchResource cycle handling.
|
||||
/// Property indices are stable: Id = 0, Links = 1.
|
||||
/// </summary>
|
||||
[Resource]
|
||||
public partial class Node
|
||||
{
|
||||
[Export] public int Id { get; set; }
|
||||
|
||||
[Export] public Node[]? Links { get; set; }
|
||||
|
||||
[Export] public Resource1[] Resources1 { get; set; }
|
||||
[Export] public Resource2[] Resources2 { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user