Fix share type used in negative quota test

It would be useful for tests to always specify the
share type to be used so as to not rely on the default
share type that may be misconfigured, or not configured
at all.

Change-Id: I5dae5e7daeb6b0b76a7a369714dce571a19cb000
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
This commit is contained in:
Goutham Pacha Ravi
2025-07-28 13:54:50 -07:00
parent 972a1510a8
commit be1bb4bf6f

View File

@@ -130,6 +130,7 @@ class SharesAdminQuotasNegativeTest(base.BaseSharesAdminTest):
# try schedule share with size, bigger than gigabytes quota
self.assertRaises(lib_exc.OverLimit,
self.create_share,
share_type_id=self.share_type_id,
size=overquota)
@decorators.idempotent_id('37dd40a8-375e-454b-8b80-229cb0eecb01')