Commit ab6d850a authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][execution] Update loop execution test for new version using db input

parent 52bc551b
......@@ -2,7 +2,7 @@
"schema_version": 2,
"blocks": {
"loop_user": {
"algorithm": "autonomous/loop_user/1",
"algorithm": "user/db_input_loop_user/1",
"parameters": {
},
"inputs": {
......@@ -14,8 +14,8 @@
}
},
"loops": {
"test_loop": {
"algorithm": "autonomous/loop/1",
"loop": {
"algorithm": "user/db_input_loop/1",
"parameters": {
"threshold": 1
},
......
......@@ -8,7 +8,7 @@
},
{
"from": "integers.b",
"to": "test_loop.in",
"to": "loop.in",
"channel": "integers"
},
{
......@@ -20,10 +20,10 @@
"loop_connections": [
{
"from": "loop_user.request",
"to": "test_loop.request"
"to": "loop.request"
},
{
"from": "test_loop.answer",
"from": "loop.answer",
"to": "loop_user.answer"
}
],
......@@ -50,7 +50,7 @@
],
"loops": [
{
"name": "test_loop",
"name": "loop",
"synchronized_channel": "integers",
"inputs": [
"in"
......
......@@ -280,7 +280,7 @@ class BaseExecutionMixIn(object):
@slow
def test_loop_1(self):
assert self.execute('user/user/loop/1/loop', [{'sum': 45, 'nb': 9}]) is None
assert self.execute('user/user/loop/1/loop', [{'sum': 28224, 'nb': 9}]) is None
# For benchmark purposes
# @slow
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment