test: scale down examAutoOccurrence tests for performance
This commit is contained in:
parent
600bbe5d7e
commit
badadff1e9
@ -150,7 +150,7 @@ spec = do
|
||||
-- | generate users without any pre-assigned rooms
|
||||
genUsersWithOccurrences :: Preselection -> Gen (Map UserId (User, Maybe ExamOccurrenceId), Map ExamOccurrenceId Natural)
|
||||
genUsersWithOccurrences preselection = do
|
||||
rawUsers <- scale (50 *) $ listOf $ Entity <$> arbitrary <*> arbitrary
|
||||
rawUsers <- listOf $ Entity <$> arbitrary <*> arbitrary -- consider applying `scale (50 *)` to uncover additional issues
|
||||
occurrences <- genOccurrences $ length rawUsers
|
||||
-- user surnames anpassen, sodass interessante instanz
|
||||
users <- fmap Map.fromList $ forM rawUsers $ \Entity {entityKey, entityVal} -> do
|
||||
|
||||
Loading…
Reference in New Issue
Block a user