Skip to content

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

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());
        }

    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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