Skip to content

Commit 50170b2

Browse files
bjesterclaude
andcommitted
Clear MORANGO_NODE_ID in the 0.5 instance ID test
A MORANGO_NODE_ID set in the environment overrides the node ID, so test_consistent_0_5_instance_id got a different instance ID than the one it expects. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 74f5d25 commit 50170b2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tests/testapp/tests/test_uuid_utilities.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def test_consistent_0_5_instance_id(self, *args):
144144

145145
with EnvironmentVarGuard() as env:
146146
env["MORANGO_SYSTEM_ID"] = "magicsysid"
147+
env["MORANGO_NODE_ID"] = "" # ensure envvar override does not kick in
147148

148149
DatabaseIDModel.objects.all().update(current=False)
149150
DatabaseIDModel.objects.create(id="7fe445b75cea11858c00fb97bdee8878", current=True)

0 commit comments

Comments
 (0)