Add test for storage quota

This commit is contained in:
Arnaud 2025-11-11 07:31:44 +01:00
parent 6a5c6da14f
commit 763c7745f7
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F

View File

@ -79,3 +79,13 @@ func TestPeerId(t *testing.T) {
t.Logf("Codex PeerId: %s", peerId)
}
func TestStorageQuota(t *testing.T) {
node := newCodexNode(t, Config{
StorageQuota: 1024 * 1024 * 1024, // 1GB
})
if node == nil {
t.Fatal("expected codex node to be created")
}
}