From dfb131f82fcace3aebf4156f093fa9ecbd6f5056 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Tue, 8 Dec 2020 16:27:00 +0100 Subject: [PATCH] make: reduce itest parallelism from 6 to 4 It seems that our itests don't perform correctly in a high CPU usage scenario such as running 6 tests in parallel. Some goroutines don't get enough execution time and causes check to time out. By reducing the total number of parallel tests, we hope to give all goroutines some more breathing room. --- make/testing_flags.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/testing_flags.mk b/make/testing_flags.mk index f8293c1c..da5cbeb1 100644 --- a/make/testing_flags.mk +++ b/make/testing_flags.mk @@ -5,7 +5,7 @@ TEST_FLAGS = ITEST_FLAGS = EXEC_SUFFIX = COVER_PKG = $$(go list -deps ./... | grep '$(PKG)' | grep -v lnrpc) -NUM_ITEST_TRANCHES = 6 +NUM_ITEST_TRANCHES = 4 ITEST_PARALLELISM = $(NUM_ITEST_TRANCHES) # If rpc option is set also add all extra RPC tags to DEV_TAGS