1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
5 from __future__ import absolute_import
8 from .integration_test import IntegrationTest
11 class CrunchstatTest(IntegrationTest):
12 def test_crunchstat(self):
13 output = subprocess.check_output(
15 '--crunchstat-interval', '1',
17 '--exec', 'echo', 'ok'])
18 self.assertEqual(b"ok\n", output)