From e5776e0a1450b4b1f4c7734bbd596a4ae10abd5d Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Sun, 3 Mar 2024 16:38:40 -0700 Subject: [PATCH] Updated 100 test to 1000 --- lockable_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lockable_test.go b/lockable_test.go index 86d2b70..fe90655 100644 --- a/lockable_test.go +++ b/lockable_test.go @@ -67,7 +67,7 @@ func TestLink(t *testing.T) { fatalErr(t, err) } -func Test100Lock(t *testing.T) { +func Test1000Lock(t *testing.T) { ctx := lockableTestContext(t, []string{"test", "lockable"}) l_pub, listener_key, err := ed25519.GenerateKey(rand.Reader) @@ -86,12 +86,12 @@ func Test100Lock(t *testing.T) { return l } - reqs := make([]NodeID, 100) + reqs := make([]NodeID, 1000) for i := range(reqs) { new_lockable := NewLockable() reqs[i] = new_lockable.ID } - ctx.Log.Logf("test", "CREATED_100") + ctx.Log.Logf("test", "CREATED_1000") l_policy := NewAllNodesPolicy(Tree{ SerializedType(SignalTypeFor[LockSignal]()): nil, @@ -117,7 +117,7 @@ func Test100Lock(t *testing.T) { t.Fatalf("Unexpected response to lock - %s", resp) } - ctx.Log.Logf("test", "LOCKED_100") + ctx.Log.Logf("test", "LOCKED_1000") } func TestLock(t *testing.T) { @@ -126,7 +126,7 @@ func TestLock(t *testing.T) { policy := NewAllNodesPolicy(nil) NewLockable := func(reqs []NodeID)(*Node, *ListenerExt) { - listener := NewListenerExt(100) + listener := NewListenerExt(1000) l, err := NewNode(ctx, nil, "Lockable", 10, []Policy{policy}, listener, NewLockableExt(reqs),