Skip to content

Extend lab 1 part 1 test to check append is actually executed - #91

Merged
emichael merged 1 commit into
masterfrom
jrw/lab1-append-test
Oct 30, 2026
Merged

emichael merged 1 commit into
masterfrom
jrw/lab1-append-test

Conversation

@wilcoxjay

Copy link
Copy Markdown
Collaborator

This is small improvement to the lab 1 part 1 tests to check that an append to an empty key has its new value actually written back to the backing map, not just that the append's result is right.

Hat tip to my TA Zanqi Liang for creating the test and to one of my students who had this bug :)

Note: such a bug will be caught in lab 1 part 2's test, so this merely surfaces it earlier, when students are likely to thinking about the operations more than the distributed system.

@emichael
emichael merged commit 5c5eb49 into master Oct 30, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants