Skip to content
Snippets Groups Projects
  • Iustin Pop's avatar
    Fix arbitrary ConfigData object generation · c3a8e06d
    Iustin Pop authored
    
    The Cluster object, as it is defined right now, has many '[String]'
    members, which means that in a standard arbitrary generator these will
    become very big, which is the reason for the current slowness of the
    test 'Config_serialisation'.
    
    By resizing the generator to 8 (arbitrary chosen to limit the list
    length and the string sizes), and by reducing a bit the node count, we
    can make this test be as fast as the others (about 10x
    improvement). This means we can test more cases, for the same cost.
    
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
    c3a8e06d