Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 68181c0

Browse files
emaicusbmcutler
authored andcommittedSep 6, 2018
Add use_router to Tutorials 16 and 17 configurations (#19)
* added use_router example to 16 config * added routerless to 17
1 parent 0fbe9cf commit 68181c0

File tree

3 files changed

+5
-297
lines changed

3 files changed

+5
-297
lines changed
 

‎examples/16_docker_network_python/config/config.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
//States that a given testcase uses a router by default. (Default value is true)
3+
"use_router" : true,
24
// docker_enabled must be true in order for networking to work. If you forget it,
35
// your assignment should fail to build.
46
"docker_enabled" : true,
@@ -10,6 +12,8 @@
1012

1113
// *************** TEST CASES *****************
1214
{
15+
//Despite the default being true, this testcase will not use a router.
16+
"use_router" : false,
1317
"title" : "Ping Pong",
1418
"containers" : [
1519
{

‎examples/17_dispatched_actions_and_standard_input/config/config.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"autograding" : {
33
"work_to_details" : ["**/*.txt"]
44
},
5+
"use_router" : false,
56
"docker_enabled" : true,
67
"testcases" : [
78
{
@@ -17,10 +18,6 @@
1718
},
1819
{
1920
"commands" : [ "python3 solution.py" ]
20-
},
21-
{
22-
"container_name" : "router",
23-
"commands" : [ "python3 router.py" ]
2421
}
2522
],
2623

‎examples/17_dispatched_actions_and_standard_input/config/test_input/router.py

Lines changed: 0 additions & 293 deletions
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.