Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Racecondition: Different requests get same response #583 #584

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import java.util.logging.*
@TypeChecked
public class IgActorSimulator extends GatewaySimulatorCommon {
static Logger logger = Logger.getLogger(IgActorSimulator.class.getName());
AdhocQueryResponseGenerator sqs;

public IgActorSimulator(SimCommon common, DsSimCommon dsSimCommon, SimDb db, SimulatorConfig simulatorConfig) {
super(common, dsSimCommon);
Expand Down Expand Up @@ -93,10 +92,9 @@ public class IgActorSimulator extends GatewaySimulatorCommon {
AdhocQueryResponseGenerator ahqrg = new AdhocQueryResponseGenerator(common, dsSimCommon, xcqSim);
mvc.addMessageValidator("Attach Errors", ahqrg, er);
mvc.run();
sqs = ahqrg;

// wrap in soap wrapper and http wrapper
mvc.addMessageValidator("ResponseInSoapWrapper", new SoapWrapperRegistryResponseSim(common, dsSimCommon, sqs), er);
mvc.addMessageValidator("ResponseInSoapWrapper", new SoapWrapperRegistryResponseSim(common, dsSimCommon, ahqrg), er);

mvc.run();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import java.util.logging.*
@TypeChecked
public class IgxActorSimulator extends GatewaySimulatorCommon {
static Logger logger = Logger.getLogger(IgxActorSimulator.class.getName());
AdhocQueryResponseGenerator sqs;

public IgxActorSimulator(SimCommon common, DsSimCommon dsSimCommon, SimDb db, SimulatorConfig simulatorConfig) {
super(common, dsSimCommon);
Expand Down Expand Up @@ -93,10 +92,9 @@ public class IgxActorSimulator extends GatewaySimulatorCommon {
AdhocQueryResponseGenerator ahqrg = new AdhocQueryResponseGenerator(common, dsSimCommon, xcqSim);
mvc.addMessageValidator("Attach Errors", ahqrg, er);
mvc.run();
sqs = ahqrg;

// wrap in soap wrapper and http wrapper
mvc.addMessageValidator("ResponseInSoapWrapper", new SoapWrapperRegistryResponseSim(common, dsSimCommon, sqs), er);
mvc.addMessageValidator("ResponseInSoapWrapper", new SoapWrapperRegistryResponseSim(common, dsSimCommon, ahqrg), er);

mvc.run();

Expand Down