mirror of
https://github.com/logos-storage/logos-storage-go-bindings.git
synced 2026-01-02 05:23:09 +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)
|
||||
}
|
||||
|
||||
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