All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.galasa.linux.internal.properties.MaximumSlots Maven / Gradle / Ivy

The newest version!
/*
 * Copyright contributors to the Galasa project
 *
 * SPDX-License-Identifier: EPL-2.0
 */
package dev.galasa.linux.internal.properties;

import dev.galasa.framework.spi.cps.CpsProperties;
import dev.galasa.linux.LinuxManagerException;

/**
 * Linux Maximum Slots for an Image
 * 

* This property restricts the maximum slots, ie max number of tests that can run against a linux image *

*

* The property is:-
*
* linux.image.GALLNX01.max.slots=9 * linux.image.max.slots=9 *

*

* default value is 2 slots *

* * * */ public class MaximumSlots extends CpsProperties { public static int get(String imageId) throws LinuxManagerException { return getIntWithDefault(LinuxPropertiesSingleton.cps(), 2, "image", "max.slots", imageId); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy