mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
divergent_priors: we no longer track divergent priors explicitely
The rest of the test is still valuable to ensure that we detect missing items which are not in the log, but now that the missing set is explicitely persisted, the divergent priors set isn't a special case and won't have special log lines to check for. Signed-off-by: Samuel Just <sjust@redhat.com>
This commit is contained in:
parent
1c58c2c3e5
commit
e3159dfafb
@ -159,13 +159,4 @@ def task(ctx, config):
|
||||
'/tmp/existing'])
|
||||
assert exit_status is 0
|
||||
|
||||
(remote,) = ctx.\
|
||||
cluster.only('osd.{o}'.format(o=divergent)).remotes.iterkeys()
|
||||
msg = "dirty_divergent_priors: true, divergent_priors: %d" \
|
||||
% (DIVERGENT_WRITE + DIVERGENT_REMOVE)
|
||||
cmd = 'grep "{msg}" /var/log/ceph/ceph-osd.{osd}.log'\
|
||||
.format(msg=msg, osd=divergent)
|
||||
proc = remote.run(args=cmd, wait=True, check_status=False)
|
||||
assert proc.exitstatus == 0
|
||||
|
||||
log.info("success")
|
||||
|
@ -193,15 +193,6 @@ def task(ctx, config):
|
||||
'/tmp/existing'])
|
||||
assert exit_status is 0
|
||||
|
||||
(remote,) = ctx.\
|
||||
cluster.only('osd.{o}'.format(o=divergent)).remotes.iterkeys()
|
||||
msg = "dirty_divergent_priors: true, divergent_priors: %d" \
|
||||
% (DIVERGENT_WRITE + DIVERGENT_REMOVE)
|
||||
cmd = 'grep "{msg}" /var/log/ceph/ceph-osd.{osd}.log'\
|
||||
.format(msg=msg, osd=divergent)
|
||||
proc = remote.run(args=cmd, wait=True, check_status=False)
|
||||
assert proc.exitstatus == 0
|
||||
|
||||
cmd = 'rm {file}'.format(file=expfile)
|
||||
remote.run(args=cmd, wait=True)
|
||||
exp_remote.run(args=cmd, wait=True)
|
||||
log.info("success")
|
||||
|
@ -230,13 +230,6 @@ def task(ctx, config):
|
||||
|
||||
(remote,) = ctx.\
|
||||
cluster.only('osd.{o}'.format(o=divergent)).remotes.iterkeys()
|
||||
msg = "dirty_divergent_priors: true, divergent_priors: %d" \
|
||||
% (DIVERGENT_WRITE + DIVERGENT_REMOVE)
|
||||
cmd = 'grep "{msg}" /var/log/ceph/ceph-osd.{osd}.log'\
|
||||
.format(msg=msg, osd=divergent)
|
||||
proc = remote.run(args=cmd, wait=True, check_status=False)
|
||||
assert proc.exitstatus == 0
|
||||
|
||||
cmd = 'rm {file}'.format(file=expfile)
|
||||
remote.run(args=cmd, wait=True)
|
||||
log.info("success")
|
||||
|
Loading…
Reference in New Issue
Block a user