<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
We are developing tests timeline based on py.test.<br>
In our setup:<br>
each test can run multiple times with different configured
configuration parameters.<br>
some tests thats need to be executed in parallel.<br>
we are using xdist and starting the run-call hook each time our
pre-required milestones are met.<br>
<br>
our configured timeline data:<br>
<br>
[<br>
{<br>
"test_func_name": "test_cm_delete",<br>
"timeline_name": "test_cm_delete_working20",<br>
"cfg": [<br>
{<br>
"comment": "ChannelMapname",<br>
"type": "string",<br>
"name": "channel_name",<br>
"value": "working_20"<br>
}<br>
],<br>
"dependency": [<br>
{<br>
"id": null,<br>
"start_after": null,<br>
"sync_type": "event",<br>
"sync_interval": 30,<br>
"sync_interval_scale": "Sec"<br>
}<br>
]<br>
},<br>
{<br>
"test_func_name": "test_cm_delete",<br>
"timeline_name": "test_cm_delete_working21",<br>
"cfg": [<br>
{<br>
"comment": "ChannelMapname",<br>
"type": "string",<br>
"name": "channel_name",<br>
"value": "working_21"<br>
}<br>
],<br>
"dependency": [<br>
{<br>
"id": "test_cm_delete_working20",<br>
"start_after": null,<br>
"sync_type": "event",<br>
"sync_interval": 30,<br>
"sync_interval_scale": "Sec"<br>
}<br>
]<br>
}<br>
]<br>
<br>
<br>
<b>our problems are:</b><br>
1) all nodes are started at once.<br>
for each node we need to send some other "cfg" data params to
execute the test.<br>
we would be happy to use request object as parameter for the tests,
but we cannot find any relation between the request and the executed
test.<br>
<br>
2) The other problems we are having related to the fact that each
xdist slave run in diffrent memory address so we cannot change
config object on one place to be read by all slaves during
execution.<br>
Any suggestions are welcome.<br>
<br>
<br>
<br>
<br>
Can you assist us?<br>
</body>
</html>