Merge pull request 'federation: wait for the asynchronous star to land' (#223) from earl-warren/end-to-end:wip-federation into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/223
This commit is contained in:
commit
de08b8c0f5
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
|||
TMPDIR=$(mktemp -d)
|
||||
|
||||
trap "rm -fr $TMPDIR" EXIT
|
||||
|
||||
source $SCENARIO_DIR/../../lib/lib.sh
|
||||
|
||||
function star_count() {
|
||||
local curl=$1
|
||||
local host_port=$2
|
||||
|
@ -41,4 +44,4 @@ $ONE_CURL api_json -X PUT $ONE_HOST_PORT/api/v1/user/starred/root/test
|
|||
# check that both repo have 1 star
|
||||
#
|
||||
star_count $ONE_CURL $ONE_HOST_PORT 1
|
||||
star_count $TWO_CURL $TWO_HOST_PORT 1
|
||||
retry star_count $TWO_CURL $TWO_HOST_PORT 1
|
||||
|
|
Loading…
Add table
Reference in a new issue