File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -220,10 +220,17 @@ unified_test_platforms:
220220 flavor: b1.large
221221
222222# Restricts the unified job to unified-only tests so nothing else runs on the alpha editor.
223- # The pattern matches on the NUnit full test name, which covers both the dedicated unified fixtures
224- # (UnifiedNetworkTransformTest) and any shared fixture parameterized with
225- # HostOrServer.UnifiedHost / HostOrServer.UnifiedServer, e.g. "NetworkTransformTests(UnifiedHost,...)".
226- unified_test_filter: "*Unified*"
223+ #
224+ # This is a REGULAR EXPRESSION, not a glob. UTR passes it to the editor as -testFilter, which ends up
225+ # in UnityEngine.TestRunner's FullNameFilter -> NUnit ValueMatchFilter -> new Regex(pattern).IsMatch().
226+ # A glob-style "*Unified*" throws "Quantifier {x,y} following nothing" and fails the whole run.
227+ # The other jobs' "Unity.Netcode.RuntimeTests.*" works because it is also a valid regex - it just
228+ # happens to read like a glob.
229+ #
230+ # The match is against the NUnit *full* test name, which includes fixture arguments. That covers both
231+ # the dedicated unified fixtures (UnifiedNetworkTransformTest) and any shared fixture parameterized
232+ # with HostOrServer.UnifiedHost / UnifiedServer, e.g. "NetworkTransformTests(UnifiedHost,...)".
233+ unified_test_filter: ".*Unified.*"
227234
228235
229236# Scripting backends used by Standalone RunTimeTests---------------------------------------------------
You can’t perform that action at this time.
0 commit comments