diff options
author | Csaba Henk <csaba@redhat.com> | 2020-07-08 21:48:46 +0200 |
---|---|---|
committer | Amar Tumballi <amar@kadalu.io> | 2020-07-19 04:32:10 +0000 |
commit | 9ec64072850028b0da0f5ab8680a65a4a7f8b915 (patch) | |
tree | b50a589a8003345b174dd30977d2133b855b871d /xlators | |
parent | 088ad9d931a4d9981e33dd28385fb5844cb89526 (diff) | |
download | glusterfs-9ec64072850028b0da0f5ab8680a65a4a7f8b915.tar.gz glusterfs-9ec64072850028b0da0f5ab8680a65a4a7f8b915.tar.xz glusterfs-9ec64072850028b0da0f5ab8680a65a4a7f8b915.zip |
tests/features/interrupt.t: fixes
- Modify the patterns for which we grep the logs so
that they don't match themselves. The test runner
inserts the invocation of the cases to the log, thus
the patterns will occur in the logs verbatim. So if
the pattern matches itself, the test case will be
moot (always reporting success).
- Invoke the test utility (open-and-sleep) on
unique paths so that the file at the passed
path shall be created on each invocation.
The kernel does not send an interrupt if
the file is extant. (This was shadowed by
the above mistske with result evaluation.)
- Modify the pattern for which we grep the log in
the test case where interrupt handling is expected
so that it asserts that the interrupt was handled.
(So far we did not exclude the possibility of the
interrupt triggered but not handled due to a race;
however, it seems to be the case that this theoretic
race does not have the potential to prevent interrupt
handling. And if this ever changes in the future we'd
rather be notified about that.)
Change-Id: I606da2b4064c1ecc4781c7dfdefed95a433478ce
Updates: #1374
Signed-off-by: Csaba Henk <csaba@redhat.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions