Search in sources :

Example 1 with HapiPropertySource

use of com.hedera.services.bdd.spec.HapiPropertySource in project hedera-services by hashgraph.

the class ConsensusQueriesStressTests method configureFromCi.

private void configureFromCi(HapiApiSpec spec) {
    HapiPropertySource ciProps = spec.setup().ciPropertiesMap();
    configure("duration", duration::set, ciProps, ciProps::getLong);
    configure("unit", unit::set, ciProps, ciProps::getTimeUnit);
    configure("maxOpsPerSec", maxOpsPerSec::set, ciProps, ciProps::getInteger);
}
Also used : HapiPropertySource(com.hedera.services.bdd.spec.HapiPropertySource)

Example 2 with HapiPropertySource

use of com.hedera.services.bdd.spec.HapiPropertySource in project hedera-services by hashgraph.

the class CryptoQueriesStressTests method configureFromCi.

private void configureFromCi(HapiApiSpec spec) {
    HapiPropertySource ciProps = spec.setup().ciPropertiesMap();
    configure("duration", duration::set, ciProps, ciProps::getLong);
    configure("unit", unit::set, ciProps, ciProps::getTimeUnit);
    configure("maxOpsPerSec", maxOpsPerSec::set, ciProps, ciProps::getInteger);
}
Also used : HapiPropertySource(com.hedera.services.bdd.spec.HapiPropertySource)

Example 3 with HapiPropertySource

use of com.hedera.services.bdd.spec.HapiPropertySource in project hedera-services by hashgraph.

the class ContractQueriesStressTests method configureFromCi.

private void configureFromCi(HapiApiSpec spec) {
    HapiPropertySource ciProps = spec.setup().ciPropertiesMap();
    configure("duration", duration::set, ciProps, ciProps::getLong);
    configure("unit", unit::set, ciProps, ciProps::getTimeUnit);
    configure("maxOpsPerSec", maxOpsPerSec::set, ciProps, ciProps::getInteger);
}
Also used : HapiPropertySource(com.hedera.services.bdd.spec.HapiPropertySource)

Example 4 with HapiPropertySource

use of com.hedera.services.bdd.spec.HapiPropertySource in project hedera-services by hashgraph.

the class FileQueriesStressTests method configureFromCi.

private void configureFromCi(HapiApiSpec spec) {
    HapiPropertySource ciProps = spec.setup().ciPropertiesMap();
    configure("duration", duration::set, ciProps, ciProps::getLong);
    configure("unit", unit::set, ciProps, ciProps::getTimeUnit);
    configure("maxOpsPerSec", maxOpsPerSec::set, ciProps, ciProps::getInteger);
}
Also used : HapiPropertySource(com.hedera.services.bdd.spec.HapiPropertySource)

Aggregations

HapiPropertySource (com.hedera.services.bdd.spec.HapiPropertySource)4