Skip to content

Commit

Permalink
use different string in waitForSignal for gateway (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
zkokelj authored Jan 28, 2025
1 parent 3b64157 commit 01c68c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/python/ten/test/baserunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def run_wallet(self, runner):
hprocess = runner.startProcess(command=os.path.join(PROJECT.root, 'artifacts', 'wallet_extension', 'wallet_extension'),
displayName='wallet_extension', workingDir=runner.output, environs=os.environ,
quiet=True, arguments=arguments, stdout=stdout, stderr=stderr, state=BACKGROUND)
runner.waitForSignal(stdout, expr='Wallet extension started', timeout=30)
runner.waitForSignal(stdout, expr='TEN gateway started', timeout=30)
return hprocess, port

def is_ten(self):
Expand Down
2 changes: 1 addition & 1 deletion src/python/ten/test/helpers/wallet_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ def run(self, rate_limit_user_compute_time=0):
hprocess = self.test.startProcess(command=self.binary, displayName='wallet_extension',
workingDir=self.test.output, environs=os.environ, quiet=True,
arguments=arguments, stdout=self.stdout, stderr=self.stderr, state=BACKGROUND)
self.test.waitForSignal(self.stdout, expr='Wallet extension started', timeout=30)
self.test.waitForSignal(self.stdout, expr='TEN gateway started', timeout=30)
return hprocess

0 comments on commit 01c68c1

Please sign in to comment.