is compares identity (i.e. address in cpython), not value.
valgrind_exception = None
for (proc, remote) in lookup_procs:
result = proc.exitstatus.get()
- if result is not 1:
+ if result != 1:
valgrind_exception = Exception("saw valgrind issues in {node}".format(node=remote.name))
if valgrind_exception is not None:
wait=False,
)
- if type is 'mds':
+ if type == 'mds':
firstmon = teuthology.get_first_mon(ctx, config)
(mon0_remote,) = ctx.cluster.only(firstmon).remotes.keys()
mon0_remote.run(args=[