Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. with ArPyUtils.StdoutInterceptor() as out1:
  2. config.enabled = True
  3. config.loggingEnabled = True
  4. # wait for supplicant to restart with a new pid
  5. Tac.waitFor( lambda: ( os.path.exists( pidfilePath ) and
  6. os.path.getctime( pidfilePath ) > pidfileCreationTime ),
  7. description='connectivity-monitor to come up again with pidfile' )
  8. assert ( open( pidfilePath ).read() != processPid )
  9. output = out1.contents()
  10. assert ( "Starting cloudtracer probe" in output )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement