Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52143

Add JSON validation for all acceptance tests for JEP-308

    XMLWordPrintable

Details

    • Evergreen - Milestone 1

    Description

      Update all the acceptance tests against the Error Telemetry endpoint as defined in JEP-308 so that they also validate the JSON response.

       

      Tests:

      • should reject bad logs
      • should reject invalid json
      • should reject large payloads
      • should accept correctly formatted logs

      Attachments

        Issue Links

          Activity

            asmith_cb Mandie Smith created issue -
            asmith_cb Mandie Smith made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            asmith_cb Mandie Smith made changes -
            Description Update all the acceptance tests against the Error Telemetry endpoint so that they also validate the JSON response. Update all the acceptance tests against the Error Telemetry endpoint as defined in [JEP-308|https://github.com/jenkinsci/jep/tree/master/jep/308] so that they also validate the JSON response.

             

            Tests:
             * should reject bad logs
             * should reject invalid json
             * should reject large payloads
             * should accept correctly formatted logs
            asmith_cb Mandie Smith made changes -
            Remote Link This issue links to "PR 112 (Web Link)" [ 20947 ]
            asmith_cb Mandie Smith made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            batmat Baptiste Mathus made changes -
            Labels essentials essentials evergreen
            batmat Baptiste Mathus made changes -
            Labels essentials evergreen evergreen

            People

              asmith_cb Mandie Smith
              asmith_cb Mandie Smith
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: