diff options
author | yanhuanwang <martin.c.yan@est.tech> | 2019-09-11 15:15:21 +0200 |
---|---|---|
committer | yanhuanwang <martin.c.yan@est.tech> | 2019-09-11 15:23:39 +0200 |
commit | 31c7509eb8a6ea5498e78b0c326f60733c0a9791 (patch) | |
tree | a828223e182323ade3ceac715b342534e9067cf3 /scripts | |
parent | cdd725e7624acb8652ca9e4b5fba8c9fa64ae033 (diff) |
fix a race condition bug in dfc csit
Change-Id: Ibed69f6a1ac068d7b088ed0367ea5b59e29f933f
Signed-off-by: Martin Yan <martin.c.yan@est.tech>
Issue-ID: DCAEGEN2-1702
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh b/scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh index 68e0745d..c63eaf68 100755 --- a/scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh +++ b/scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh @@ -17,16 +17,6 @@ for i in {1..10}; do if [ $(docker inspect --format '{{ .State.Running }}' $DFC_APP) ] then echo "DFC app Running" - - # enable TRACE logging of DFC - docker exec $DFC_APP /bin/sh -c " sed -i 's/org.onap.dcaegen2.collectors.datafile: WARN/org.onap.dcaegen2.collectors.datafile: TRACE/g' /opt/app/datafile/config/application.yaml" - - #enable TRACE logging of spring-framework - docker exec $DFC_APP /bin/sh -c " sed -i 's/org.springframework.data: ERROR/org.springframework.data: TRACE/g' /opt/app/datafile/config/application.yaml" - - docker restart $DFC_APP - sleep 10 - break else echo sleep $i |