diff --git a/bin/yugabyted b/bin/yugabyted index c314a6ef08cd..aba7b7810546 100755 --- a/bin/yugabyted +++ b/bin/yugabyted @@ -4899,7 +4899,7 @@ class ControlScript(object): status_details = [] status_display_info = {} - # Case Scenario: When each AZ/region has only 1 node. (Most happy path) + # Case Scenario: When each AZ/region has only 1 node. (Happiest path) if len(placement_location_map) == replication_factor: final_status = "" ft_status = "" diff --git a/python/yugabyte/source_files.py b/python/yugabyte/source_files.py index fa447f9d2fb3..ecd0880aeb00 100644 --- a/python/yugabyte/source_files.py +++ b/python/yugabyte/source_files.py @@ -88,6 +88,11 @@ def get_file_category(rel_path: str) -> SourceFileCategory: raise IOError("Relative path expected, got an absolute path: %s" % rel_path) basename = os.path.basename(rel_path) + # Adding the check for yugabyted file before running the check for + # DIRECTORIES_THAT_DO_NOT_AFFECT_TESTS which contains the bin directory. + if rel_path.startswith('bin/yugabyted'): + return SourceFileCategory.JAVA + if rel_path.split(os.sep)[0] in DIRECTORIES_THAT_DO_NOT_AFFECT_TESTS: return SourceFileCategory.DOES_NOT_AFFECT_TESTS