Skip to content

Commit

Permalink
disabling existingSqlData until fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
arcuri82 committed Dec 2, 2018
1 parent 8955569 commit 003c474
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
Expand Up @@ -35,8 +35,13 @@ public static AuthenticationDto getForBasic(String dtoName, String userId, Strin
String encoded = encode64(userId + ":" + password);
String headerValue = "Basic " + encoded;

return getForAuthorizationHeader(dtoName, headerValue);
}

public static AuthenticationDto getForAuthorizationHeader(String dtoName, String authorizationValue){

AuthenticationDto dto = new AuthenticationDto(dtoName);
dto.headers.add(new HeaderDto("Authorization", headerValue));
dto.headers.add(new HeaderDto("Authorization", authorizationValue));

return dto;
}
Expand Down
Expand Up @@ -19,6 +19,10 @@ object DbActionTransformer {

val action = insertions[i]
if(action.representExistingData){
/*
FIXME even if not "printable", should still be able
to point to it. Logic below needs to be updated.
*/
continue
}

Expand Down
Expand Up @@ -58,7 +58,8 @@ class RestStructureMutator : StructureMutator() {
missing = findMissing(es, ind)
}

ind.dbInitialization.addAll(0, sampler.existingSqlData)
//TODO put back once bug fixed
//ind.dbInitialization.addAll(0, sampler.existingSqlData)

if (config.generateSqlDataWithDSE) {
//TODO DSE could be plugged in here
Expand Down

0 comments on commit 003c474

Please sign in to comment.