Skip to content
Snippets Groups Projects
Commit 254e8ffa authored by Michele Chiari's avatar Michele Chiari
Browse files

Revert "Disable multithreading."

This reverts commit bf2261f6.
parent bf2261f6
No related branches found
No related tags found
No related merge requests found
%% Cell type:code id: tags:
``` python
import mc_openapi.doml_mc as mc
doml_document_path = "../../tests/doml/nginx-openstack_v2.domlx"
# doml_document_path = "../../tests/doml/nginx-openstack_v2_wrong.domlx"
# doml_document_path = "../../tests/doml/faas.domlx"
with open(doml_document_path, "rb") as xmif:
doc = xmif.read()
dmc = mc.ModelChecker(doc)
```
%% Cell type:code id: tags:
``` python
r = dmc.check_common_requirements(2, False)
r = dmc.check_common_requirements(2)
r.summarize()
```
......
......@@ -13,7 +13,7 @@ def post(body, requirement=None):
doml_xmi = body
try:
dmc = ModelChecker(doml_xmi)
results = dmc.check_common_requirements(threads=1, consistency_checks=False)
results = dmc.check_common_requirements(2)
res, msg = results.summarize()
if res == MCResult.sat:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment