Skip to content
Snippets Groups Projects
Commit a0a708b4 authored by Jammer, Tim's avatar Jammer, Tim
Browse files

added One case to produce deadlocks

parent fe041bcc
Branches
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ from scripts.Infrastructure.Instruction import Instruction
from scripts.Infrastructure.MPICall import MPICall
from scripts.Infrastructure.CorrectParameter import CorrectParameterFactory
deadlock_marker = "\n\n This testcase can result in a Deadlock\n\n"
deadlock_marker = "\n\n This testcase can result in a Deadlock\n"
"""
THIS BLOCK IS CURRENTLY NOT USED:
......
......@@ -73,6 +73,10 @@ class InvalidCommErrorP2P(ErrorGenerator):
i += 1
tm = get_invalid_param_p2p_case("comm", comm_to_use, check_recv, send_func, recv_func)
tm.set_cad_deadlock()# deadlock if msg is send one one comm and not received on the other comm
# deadlock can be considered to occur even if comm=NULL as send/receive will not be matched
error_string = "ParamMatching"
if comm_to_use in self.invalid_comm:
error_string = "InvalidParam"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment