Module 11 · In Studio · challenge 3 of 3 in this lesson
safeToLeaveOldServers is true only when the old and new field sets are the same set of names
A test in Studio grades it and prints a pass code.
Open
Level 3, Professional
Challenge
Decide when old servers can stay up for m06's fixed-table saver in challenges/live_ops_work.luau (where any added or dropped key breaks the four-field copy). Grade the change on m14-ship: press Play and run this in the server command bar.
game.ServerScriptService.RunGameTests:Invoke("live-ops")
- Start from
- The game at milestone m06 (download)
- Grade it
- To grade work from an earlier milestone, apply your challenge changes to a checkout based on
m14-ship, which includes the Course Runner. In Studio, press Play, then rungame.ServerScriptService.RunGameTests:Invoke("live-ops")in the server command bar. Copy the pass code from Output.
Done means
- safeToLeaveOldServers is true only when the old and new field sets are the same set of names
- Order does not matter, an added or dropped field is false, and an empty list is false
- challenges/live-ops.luau prints TEST PASS for all six cases