• Binbin's avatar
    xinfo-stream add minimum to seen-time, skip logreqres in fuzzer (#13056) · ca5cac99
    Binbin authored
    
    
    Recently I saw in CI that reply-schemas-validator fails here:
    ```
    Failed validating 'minimum' in schema[1]['properties']['groups']['items']['properties']['consumers']['items']['properties']['active-time']:
        {'description': 'Last time this consumer was active (successful '
                        'reading/claiming).',
         'minimum': 0,
         'type': 'integer'}
    
    On instance['groups'][0]['consumers'][0]['active-time']:
        -1729380548878722639
    ```
    
    The reason is that in fuzzer, we may restore corrupted active-time,
    which will cause the reply schema CI to fail.
    
    The fuzzer can cause corrupt the state in many places, which will
    bugs that mess up the reply, so we decided to skip logreqres.
    
    Also, seen-time is the same type as active-time, adding the minimum.
    
    ---------
    Co-authored-by: default avatarOran Agra <oran@redislabs.com>
    ca5cac99
xinfo-stream.json 17.4 KB