Skip to content

Commit 707de12

Browse files
authored
Reducing the volume size for zos_mount test case (#2043)
* reducing the volume size so it can execute on any volume * adding changelog * changelog changes
1 parent ea3e680 commit 707de12

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
trivial:
2+
- test_zos_mount_func.py - Modifying the volume cylinder size, so test case does not fail due to volume space constraints.
3+
(https://github.com/ansible-collections/ibm_zos_core/pull/2043).

tests/functional/modules/test_zos_mount_func.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22

3-
# Copyright (c) IBM Corporation 2020, 2024
3+
# Copyright (c) IBM Corporation 2020, 2025
44
# Apache License, Version 2.0 (see https://opensource.org/licenses/Apache-2.0)
55

66
from __future__ import absolute_import, division, print_function
@@ -81,7 +81,7 @@ def create_sourcefile(hosts, volume):
8181
mount_result = hosts.all.shell(
8282
cmd="zfsadm define -aggregate "
8383
+ thisfile
84-
+ " -volumes {0} -cylinders 200 1".format(volume),
84+
+ " -volumes {0} -cylinders 10 1".format(volume),
8585
executable=SHELL_EXECUTABLE,
8686
stdin="",
8787
)

0 commit comments

Comments
 (0)