Skip to content

Pre-defined number of users in OLB-database scope #45

@tormoseng

Description

@tormoseng

When testing the the database scope in OLB, the code overrides my settings from the DynamicSpotter. Happens in OLBDetectionController.java (see below). Any good reason for this?

@OverRide
public void executeExperiments() throws InstrumentationException, MeasurementException, WorkloadException {
if (!reuser) {
// TODO: fix that
if (scope.equals(OLBExtension.DB_SCOPE)) {
instrumentApplication(getInstrumentationDescription(1.0));
runExperiment(this, 1);
uninstrumentApplication();

            instrumentApplication(getInstrumentationDescription(1.0));
            runExperiment(this, 125);
            uninstrumentApplication();

            instrumentApplication(getInstrumentationDescription(0.1));
            runExperiment(this, 250);
            uninstrumentApplication();

            instrumentApplication(getInstrumentationDescription(0.1));
            runExperiment(this, 375);
            uninstrumentApplication();

            instrumentApplication(getInstrumentationDescription(0.05));
            runExperiment(this, 500);
            uninstrumentApplication();
        } else {
            executeDefaultExperimentSeries(this, experimentSteps, getInstrumentationDescription());
        }

    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions