diff options
author | Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> | 2021-10-18 06:23:34 +0000 |
---|---|---|
committer | Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> | 2021-10-21 15:10:50 +0000 |
commit | c48b9767a6bcad91f89fc3fded0b6024e89525c0 (patch) | |
tree | 5f06c4c6637941902822374d551911d7c6dc0748 /tests/test_trapd_settings.py | |
parent | a8d624c0502c241feadcfba71ba1442b22d9908b (diff) |
Fix no such file or directory error
fetch_json_file() function is called from two processes, misshtbtd
and cbs_polling. When they call the func at the same time, both procs
try to remove download.json, so `No such file or directory` error
occurs on one of them and the process stop working by the error.
This change adds an exception handling to ignore the error.
Issue-ID: DCAEGEN2-2872
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Change-Id: I4f9f0a4522badcdef51392f4bbccfd6aa42fd9d0
Diffstat (limited to 'tests/test_trapd_settings.py')
0 files changed, 0 insertions, 0 deletions