瀏覽代碼

Use grace period in await_url for new bubbles

pull/16/head
Kristijan Mitrovic 4 年之前
父節點
當前提交
439cc2bcf4
共有 2 個檔案被更改,包括 5 行新增5 行删除
  1. +1
    -1
      bubble-server/src/test/resources/models/include/new_bubble.json
  2. +4
    -4
      bubble-server/src/test/resources/models/tests/live/backup_and_restore.json

+ 1
- 1
bubble-server/src/test/resources/models/include/new_bubble.json 查看文件

@@ -166,7 +166,7 @@

{
"comment": "call API of deployed node after some grace period, ensure it is running",
"before": "await_url .bubble 20m:40m 20s",
"before": "await_url .bubble 20m:20m 20s",
"connection": {
"name": "<<bubbleConnectionVar>>",
"baseUri": "https://{{<<networkVar>>.host}}.<<network>>.<<domain>>:{{serverConfig.nginxPort}}/api"


+ 4
- 4
bubble-server/src/test/resources/models/tests/live/backup_and_restore.json 查看文件

@@ -172,12 +172,12 @@
},

{
"before": "await_url .bubble 40m 20s",
"comment": "restore node using restoreKey",
"before": "await_url .bubble 20m:20m 20s",
"connection": {
"name": "restoredBubbleConnection",
"baseUri": "https://{{restoreNN.fqdn}}:{{serverConfig.nginxPort}}/api"
},
"comment": "restore node using restoreKey",
"request": {
"uri": "auth/restore/{{restoreNN.restoreKey}}",
"entity": {
@@ -185,11 +185,11 @@
"password": "Passw0rd!!"
},
"method": "put"
}
},
"after": "await_url .bubble 4m:10m 20s" // give the restore some time to stop the server, restore and restart
},

{
"before": "await_url .bubble 4m:10m 20s",
"comment": "login to restored bubble",
"request": {
"session": "new",


Loading…
取消
儲存