mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
bitbake: bitbake-hashclient: Output stats in JSON format
Outputting the stats in JSON format makes more sense as it's easier for a downstream tool to parse if desired. (Bitbake rev: 3a18066e479ab06bdb08e258fc4aacad5e73222e) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
92a9d6d55d
commit
a607f435de
@@ -815,7 +815,8 @@ class TestHashEquivalenceClient(HashEquivalenceTestSetup, unittest.TestCase):
|
||||
return "unix://" + os.path.join(self.temp_dir.name, 'sock%d' % server_idx)
|
||||
|
||||
def test_stats(self):
|
||||
self.run_hashclient(["--address", self.server_address, "stats"], check=True)
|
||||
p = self.run_hashclient(["--address", self.server_address, "stats"], check=True)
|
||||
json.loads(p.stdout)
|
||||
|
||||
def test_stress(self):
|
||||
self.run_hashclient(["--address", self.server_address, "stress"], check=True)
|
||||
|
||||
Reference in New Issue
Block a user