This is an automated email from the ASF dual-hosted git repository.

rawlin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new d26dcb0  TM Int Tests GHA: Make /opt/traffic_monitor/crconfig.backup 
exist (#6650)
d26dcb0 is described below

commit d26dcb0d59777f7830dad674772c59794039a58e
Author: Zach Hoffman <[email protected]>
AuthorDate: Mon Mar 14 11:15:59 2022 -0600

    TM Int Tests GHA: Make /opt/traffic_monitor/crconfig.backup exist (#6650)
---
 .github/actions/tm-integration-tests/entrypoint.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/actions/tm-integration-tests/entrypoint.sh 
b/.github/actions/tm-integration-tests/entrypoint.sh
index 1e60a6e..676e2ae 100755
--- a/.github/actions/tm-integration-tests/entrypoint.sh
+++ b/.github/actions/tm-integration-tests/entrypoint.sh
@@ -118,6 +118,9 @@ cd "${repo_dir}/traffic_monitor"
 go mod vendor
 go build
 
+# fixes `failed to write CRConfig backup file: open 
/opt/traffic_monitor/crconfig.backup: no such file or directory`
+sudo ln -s $(pwd | xargs realpath) /opt/traffic_monitor
+
 cat > ./traffic_monitor.cfg <<- EOF
   {
       "monitor_config_polling_interval_ms": 15000,

Reply via email to