diff --git a/benchmarks/decoders/benchmark_decoders_library.py b/benchmarks/decoders/benchmark_decoders_library.py index ae07727f..33d25c63 100644 --- a/benchmarks/decoders/benchmark_decoders_library.py +++ b/benchmarks/decoders/benchmark_decoders_library.py @@ -496,7 +496,8 @@ def run_batch_using_threads( for _ in range(batch_parameters.batch_size): futures.append(executor.submit(function, *args)) for f in futures: - assert f.result() + # TODO: Add a stronger check here based on arguments to the function. + assert len(f.result()) > 0 executor.shutdown(wait=True)