diff mbox

[ndctl,2/4] test: ensure create.sh always picks a suitable BTT-host namespace

Message ID 147026659678.11162.9148598870507509552.stgit@dwillia2-desk3.amr.corp.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Dan Williams Aug. 3, 2016, 11:23 p.m. UTC
The default namespace picked by create-namespace might not be suitable
to host a BTT. Specify this size to guarantee a usable selection.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
 test/create.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/test/create.sh b/test/create.sh
index b0dcdb7da2bd..e9777f25e31a 100755
--- a/test/create.sh
+++ b/test/create.sh
@@ -44,7 +44,7 @@  eval $(echo $json | sed -e "$json2var")
 
 # create blk
 dev="x"
-json=$($NDCTL create-namespace $BUS -t blk -m raw)
+json=$($NDCTL create-namespace $BUS -t blk -m raw -s 17M)
 eval $(echo $json | sed -e "$json2var")
 [ $dev = "x" ] && echo "fail: $LINENO" && exit 1
 [ $mode != "raw" ] && echo "fail: $LINENO" &&  exit 1