mirror of
https://github.com/logos-storage/logos-storage-go-bindings.git
synced 2026-01-04 06:23:06 +00:00
Add test for storage quota
This commit is contained in:
parent
6a5c6da14f
commit
763c7745f7
@ -79,3 +79,13 @@ func TestPeerId(t *testing.T) {
|
|||||||
|
|
||||||
t.Logf("Codex PeerId: %s", peerId)
|
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")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user