abh1sar commented on code in PR #11974:
URL: https://github.com/apache/cloudstack/pull/11974#discussion_r2576856511
##########
server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java:
##########
@@ -466,6 +469,18 @@ public class UserVmManagerImplTest {
Class<InvalidParameterValueException>
expectedInvalidParameterValueException = InvalidParameterValueException.class;
Class<CloudRuntimeException> expectedCloudRuntimeException =
CloudRuntimeException.class;
+
+ private void overrideDefaultConfigValue(final ConfigKey configKey, final
Object o) {
+ try {
+ final String name = "_defaultValue";
+ Field f = ConfigKey.class.getDeclaredField(name);
Review Comment:
Should we revert this in teardown?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]