[Functional] Add logging to the check test file function
In the functional tests module which is testing WSGI Server, there
is used function to assert that file created by the WSGI service is
created and has got correct size.
This function wasn't logging anything so in case of test failure
there was no way to check why it really failed.
This patch adds some log messages to the check so it will be clear
if file wasn't created at all or if size was not as expected.
Change-Id: Ib610b8513b4ea888a540873b26c3f205ac575b17
Related-Bug: #1886956
(cherry picked from commit 0c55ab9c78df028e9e321a3f8dea59ede217fef8)
Reviewed: https:/ /review. opendev. org/757574 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=86463bd822d c004c812acf79ad 95aeed7e43f71e
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 86463bd822dc004 c812acf79ad95ae ed7e43f71e
Author: Slawek Kaplonski <email address hidden>
Date: Thu Jul 9 15:19:03 2020 +0200
[Functional] Add logging to the check test file function
In the functional tests module which is testing WSGI Server, there
is used function to assert that file created by the WSGI service is
created and has got correct size.
This function wasn't logging anything so in case of test failure
there was no way to check why it really failed.
This patch adds some log messages to the check so it will be clear
if file wasn't created at all or if size was not as expected.
Change-Id: Ib610b8513b4ea8 88a540873b26c3f 205ac575b17 e9e321a3f8dea59 ede217fef8)
Related-Bug: #1886956
(cherry picked from commit 0c55ab9c78df028