summaryrefslogtreecommitdiffstats
path: root/test/functional/cases
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/cases')
-rw-r--r--test/functional/cases/125_map_reload.robot6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/cases/125_map_reload.robot b/test/functional/cases/125_map_reload.robot
index d6708b942..2afaf2ab2 100644
--- a/test/functional/cases/125_map_reload.robot
+++ b/test/functional/cases/125_map_reload.robot
@@ -19,7 +19,9 @@ CHECK HIT AND MISS
WRITE NEW MAP
Sleep 1s Wait for new time
- Copy File ${MAP_FILE} ${MAP2}
+ ${TMP_FILE} = Make Temporary File
+ Copy File ${TESTDIR}/configs/maps/domains.list.2 ${TMP_FILE}
+ Move File ${TMP_FILE} ${MAP_FILE}
CHECK HIT AND MISS AFTER RELOAD
Sleep 1s Wait for map reload
@@ -29,13 +31,11 @@ CHECK HIT AND MISS AFTER RELOAD
*** Keywords ***
Map Reload Setup
${MAP1} = Get File ${TESTDIR}/configs/maps/domains.list
- ${MAP2} = Get File ${TESTDIR}/configs/maps/domains.list.2
${MAP_FILE} = Make Temporary File
${LUA_SCRIPT} = Make Temporary File
Set Suite Variable ${LUA_SCRIPT}
Set Suite Variable ${MAP_FILE}
Set Suite Variable ${MAP1}
- Set Suite Variable ${MAP2}
${lua} = Get File ${TESTDIR}/lua/mapreload.lua
${lua} = Replace Variables ${lua}
Create File ${LUA_SCRIPT} ${lua}