Github Actions Workflows (#1876)
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com> Co-authored-by: sahil-lakhwani <sahilakhwani@gmail.com> Co-authored-by: agiwalpooja20 Co-authored-by: abhisheks-infracloud
This commit is contained in:
co-authored by
Vishal
sahil-lakhwani
agiwalpooja20
abhisheks-infracloud
parent
e438df87fa
commit
a68f3edcd4
@@ -53,7 +53,6 @@ echo $response | grep -i foo
|
||||
# function to emulate real online traffic. The router
|
||||
# should be able to update cache under this situation.
|
||||
( watch -n1 curl http://$FISSION_ROUTER/$fn ) > /dev/null 2>&1 &
|
||||
pid=$!
|
||||
|
||||
log "Updating function"
|
||||
echo 'module.exports = function(context, callback) { callback(200, "bar!\n"); }' > $tmp_dir/bar.js
|
||||
@@ -68,6 +67,4 @@ response=$(curl http://$FISSION_ROUTER/$fn)
|
||||
log "Checking for valid response again"
|
||||
echo $response | grep -i bar
|
||||
|
||||
kill -15 $pid
|
||||
|
||||
log "All done."
|
||||
|
||||
Reference in New Issue
Block a user