2023-09-05 21:14:40 +00:00
|
|
|
# shellcheck source=../../utils/with-1-data-1-empty-node-cluster.sh
|
|
|
|
source "$UTILS"/with-1-data-1-empty-node-cluster.sh
|
2023-09-01 15:19:59 +00:00
|
|
|
|
|
|
|
[ "$(cat a/meta/isle/rpc_port)" = "3900" ]
|
|
|
|
[ "$(cat b/meta/isle/rpc_port)" = "3910" ]
|
|
|
|
[ "$(cat c/meta/isle/rpc_port)" = "3920" ]
|
2023-09-03 16:08:14 +00:00
|
|
|
|
2024-06-10 16:56:36 +00:00
|
|
|
[ "$(jq -r <admin.json '.CreationParams.ID')" != "" ]
|
|
|
|
[ "$(jq -r <admin.json '.CreationParams.Name')" = "testing" ]
|
|
|
|
[ "$(jq -r <admin.json '.CreationParams.Domain')" = "shared.test" ]
|
2023-09-03 16:08:14 +00:00
|
|
|
|
2024-06-17 12:13:53 +00:00
|
|
|
bootstrap_file="$XDG_STATE_HOME/isle/bootstrap.json"
|
2023-09-03 16:08:14 +00:00
|
|
|
|
2024-06-10 16:56:36 +00:00
|
|
|
[ "$(jq -rc <"$bootstrap_file" '.AdminCreationParams')" = "$(jq -rc <admin.json '.CreationParams')" ]
|
2024-06-10 20:31:29 +00:00
|
|
|
[ "$(jq -rc <"$bootstrap_file" '.CAPublicCredentials')" = "$(jq -rc <admin.json '.Nebula.CACredentials.Public')" ]
|
|
|
|
[ "$(jq -r <"$bootstrap_file" '.SignedHostAssigned.Body.Name')" = "primus" ]
|