Skip to content

Commit

Permalink
docs(): Comment a strange test ca
Browse files Browse the repository at this point in the history
Signed-off-by: sBouzols <[email protected]>
  • Loading branch information
sBouzols committed Feb 9, 2024
1 parent eaf9180 commit df90bee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ private static List<AbstractBaseImpact> createBranchImpacts(ImpactType impactTyp
createElementImpact(impactType, IdentifiableType.SWITCH, disconnectorId2, Set.of(substationId2))
);
if (impactType == ImpactType.CREATION) {
// During a creation of a 2WT we use the TapChangerAdder which set the tapChangerAttributes to the 2WT
// This setRatioTapChanger/setPhaseTapChanger calling generates a notifyUpdate for the newly created 2WT
// Then we must add a MODIFICATION impact on this newly created 2WT.
// TODO fix this
impacts.add(createElementImpact(ImpactType.MODIFICATION, branchType, branchId, new TreeSet<>(List.of(substationId1, substationId2)))); // case with newtapChanger
}
if (impactType == ImpactType.DELETION) {
Expand Down
14 changes: 7 additions & 7 deletions src/test/resources/application-default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ spring:
properties:
dialect: org.hibernate.dialect.H2Dialect
hibernate:
format_sql: true
generate_statistics: true
'[format_sql]': true
'[generate_statistics]': true
dialect: org.hibernate.dialect.H2Dialect
hibernate:
#to turn off schema validation that fails (because of clob types) and blocks tests even if the schema is compatible
ddl-auto: none
logging:
level:
org.springframework.orm.jpa: INFO
org.springframework.transaction: INFO
org.hibernate.SQL: INFO
org.hibernate.type.descriptor.sql.BasicBinder: INFO
level:
'[org.springframework.orm.jpa]': INFO
'[org.springframework.transaction]': INFO
'[org.hibernate.SQL]': INFO
'[org.hibernate.type.descriptor.sql.BasicBinder]': INFO
gridsuite:
services:
report-server:
Expand Down

0 comments on commit df90bee

Please sign in to comment.