Add StorageQuota config to testutil

This commit is contained in:
Arnaud 2025-11-11 07:34:41 +01:00
parent 763c7745f7
commit 7bf087ad88
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F

View File

@ -43,6 +43,10 @@ func newCodexNode(t *testing.T, opts ...Config) *CodexNode {
if c.DiscoveryPort != 0 {
config.DiscoveryPort = c.DiscoveryPort
}
if c.StorageQuota != 0 {
config.StorageQuota = c.StorageQuota
}
}
node, err := New(config)