@@ -29,8 +29,8 @@ load 'utils/_helpers'
2929
3030 resource_get " $_GLOBAL_BASE_PATH " " "
3131 assert_equal " $SC " 200
32- assert_equal " $( get_json_path " $BODY " ' .maxconn' ) " " 5000"
33- assert_equal " $( get_json_path " $BODY " ' .daemon' ) " " enabled "
32+ assert_equal " $( get_json_path " $BODY " ' .performance_options. maxconn' ) " " 5000"
33+ assert_equal " $( get_json_path " $BODY " ' .daemon' ) " " true "
3434 assert_equal " $( get_json_path " $BODY " ' .pidfile' ) " " /var/run/haproxy.pid"
3535 assert_equal " $( get_json_path " $BODY " ' .runtime_apis[0].address' ) " " /var/lib/haproxy/stats"
3636 assert_equal " $( get_json_path " $BODY " ' .runtime_apis[0].level' ) " " admin"
@@ -43,8 +43,8 @@ load 'utils/_helpers'
4343
4444 resource_get " $_GLOBAL_BASE_PATH " " "
4545 assert_equal " $SC " 200
46- assert_equal " $( get_json_path " $BODY " ' .maxconn' ) " " 5000"
47- assert_equal " $( get_json_path " $BODY " ' .daemon' ) " " enabled "
46+ assert_equal " $( get_json_path " $BODY " ' .performance_options. maxconn' ) " " 5000"
47+ assert_equal " $( get_json_path " $BODY " ' .daemon' ) " " true "
4848 assert_equal " $( get_json_path " $BODY " ' .pidfile' ) " " /var/run/haproxy.pid"
4949 assert_equal " $( get_json_path " $BODY " ' .runtime_apis[0].address' ) " " /var/lib/haproxy/stats-new"
5050 assert_equal " $( get_json_path " $BODY " ' .runtime_apis[0].level' ) " " admin"
@@ -74,8 +74,8 @@ load 'utils/_helpers'
7474 # check configuration has been applied
7575 resource_get " $_GLOBAL_BASE_PATH " " "
7676 assert_equal " $SC " 200
77- assert_equal " $( get_json_path " $BODY " ' .maxconn' ) " " 5000"
78- assert_equal " $( get_json_path " $BODY " ' .daemon' ) " " enabled "
77+ assert_equal " $( get_json_path " $BODY " ' .performance_options. maxconn' ) " " 5000"
78+ assert_equal " $( get_json_path " $BODY " ' .daemon' ) " " true "
7979 assert_equal " $( get_json_path " $BODY " ' .pidfile' ) " " /var/run/haproxy.pid"
8080 assert_equal " $( get_json_path " $BODY " ' .runtime_apis[0].address' ) " " /var/lib/haproxy/stats-new"
8181 assert_equal " $( get_json_path " $BODY " ' .runtime_apis[0].level' ) " " admin"
0 commit comments