-
Notifications
You must be signed in to change notification settings - Fork 0
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
Integration tests #140
Integration tests #140
Conversation
Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@rte-france.com>
Network network = Network.read(new ResourceDataSource("IEEE14", new ResourceSet("/ieee14-disconnectline", "IEEE14.iidm"))); | ||
LoadFlowResult result = provider.run(network, computationManager, VariantManagerConstants.INITIAL_VARIANT_ID, parameters) | ||
.join(); | ||
assertFalse(result.isOk()); // FIXME |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gautierbureau any idea how to have it running ok?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have this error message:
Initialization failed: error while parsing file network.xiidm : Attribute Terminal does not exists ( DYNDataInterfaceIIDM.cpp:139 )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks like generated iidm is not correct
Kudos, SonarCloud Quality Gate passed! |
# Conflicts: # dynaflow/src/test/java/com/powsybl/dynaflow/DynaFlowParametersTest.java # dynaflow/src/test/java/com/powsybl/dynaflow/DynaFlowProviderTest.java # dynaflow/src/test/java/com/powsybl/dynaflow/json/JsonDynaFlowParametersSerializerTest.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/DynaWaltzContext.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/DynaWaltzProvider.java # dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/DynaWaltzTestUtil.java # pom.xml
*/ | ||
public abstract class AbstractDynawoTest { | ||
|
||
private static final String DOCKER_IMAGE_ID = "gridsuite/java-dynawo"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is gridsuite? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, we should move this repo on powsybl side.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
# Conflicts: # dynaflow/src/main/java/com/powsybl/dynaflow/DynaFlowSecurityAnalysisProvider.java
Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@rte-france.com>
Kudos, SonarCloud Quality Gate passed! |
Signed-off-by: Geoffroy Jamgotchian geoffroy.jamgotchian@rte-france.com
Please check if the PR fulfills these requirements (please use
'[x]'
to check the checkboxes, or submit the PR and then click the checkboxes)Does this PR already have an issue describing the problem ? If so, link to this issue using
'#XXX'
and skip the restNo
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature
What is the new behavior (if this is a feature change)?
We now have integration tests running Dynawo and not only mock based tests.
Does this PR introduce a breaking change or deprecate an API? If yes, check the following:
Other information:
(if any of the questions/checkboxes don't apply, please delete them entirely)