Skip to content

Commit

Permalink
DAOS-6965 Test: Increased the SCM size as recent layout change need m…
Browse files Browse the repository at this point in the history
…ore space with current dataset. (#4928) (#5228)

Test is failing because of SCM size target size is getting low 9MB with dataset.
This test has no requirement to use low size so increase enough so test
should not fail with ENOSPACE.
Updated test to use PCMEM instead of using tmpfs.

Signed-off-by: Samir Raval <samir.raval@intel.com>
  • Loading branch information
ravalsam authored Mar 31, 2021
1 parent 71c6170 commit f6ad814
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/tests/ftest/nvme/nvme_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import threading
import avocado
import time

from pydaos.raw import DaosApiError
from test_utils_pool import TestPool
Expand Down Expand Up @@ -194,6 +195,7 @@ def test_nvme_object_multiple_pools(self):
threads = []
index = 0
for size in self.pool_size[:-1]:
time.sleep(1)
thread = threading.Thread(target=test_runner,
args=(self, size, self.record_size,
index, self.array_size))
Expand Down
4 changes: 3 additions & 1 deletion src/tests/ftest/nvme/nvme_object.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ server_config:
servers:
bdev_class: nvme
bdev_list: ["0000:81:00.0","0000:da:00.0"]
scm_class: dcpm
scm_list: ["/dev/pmem0"]
transport_config:
allow_insecure: True
agent_config:
Expand All @@ -33,7 +35,7 @@ pool:
createset:
group: daos_server
createsize:
scm_size: 1000000000
scm_size: 4000000000
size:
- 20000000000
- 100000000000
Expand Down

0 comments on commit f6ad814

Please sign in to comment.