Ver código fonte

Use grace period in await_url for new bubbles

pull/16/head
Kristijan Mitrovic 4 anos atrás
pai
commit
439cc2bcf4
2 arquivos alterados com 5 adições e 5 exclusões
  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 Ver arquivo

@@ -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 Ver arquivo

@@ -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",


Carregando…
Cancelar
Salvar