You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by zr...@apache.org on 2023/03/16 14:51:07 UTC

[trafficcontrol] branch master updated (e82248015f -> abf38bb52c)

This is an automated email from the ASF dual-hosted git repository.

zrhoffman pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


    from e82248015f add missing lastUpdated prop to PUT /roles (#7402)
     add abf38bb52c Fix t3c test duplication and upgrade to v4 (fix conflicts) (#7287)

No new revisions were added by this update.

Summary of changes:
 cache-config/t3cutil/toreq/clienthlp.go            |  38 +++
 .../ort-tests/t3c-apply-wait-for-parents_test.go   |   7 +-
 cache-config/testing/ort-tests/t3c-ims_test.go     |  43 +--
 cache-config/testing/ort-tests/t3c-jobs_test.go    |  26 +-
 cache-config/testing/ort-tests/t3c-reload_test.go  |   2 +-
 .../testing/ort-tests/t3c_update_to_flags_test.go  |   2 +-
 cache-config/testing/ort-tests/tc-fixtures.json    | 374 ++++++++++-----------
 .../testing/ort-tests/tcdata/cachegroups.go        | 116 -------
 .../ort-tests/tcdata/cachegroups_parameters.go     | 103 ------
 .../tcdata/cachegroupsdeliveryservices.go          | 155 ---------
 .../testing/ort-tests/tcdata/cdnfederations.go     |  67 ----
 cache-config/testing/ort-tests/tcdata/cdns.go      |  60 ----
 .../testing/ort-tests/tcdata/coordinates.go        |  55 ---
 .../tcdata/deliveryservice_request_comments.go     |  66 ----
 .../ort-tests/tcdata/deliveryservice_requests.go   |  64 ----
 .../testing/ort-tests/tcdata/deliveryservices.go   |  90 -----
 .../deliveryservices_required_capabilities.go      | 212 ------------
 .../ort-tests/tcdata/deliveryservicesregexes.go    | 107 ------
 cache-config/testing/ort-tests/tcdata/divisions.go |  56 ---
 .../ort-tests/tcdata/federation_resolvers.go       | 118 -------
 .../testing/ort-tests/tcdata/federation_users.go   | 165 ---------
 .../testing/ort-tests/tcdata/invalidation_jobs.go  |  47 ---
 cache-config/testing/ort-tests/tcdata/origins.go   |  56 ---
 .../testing/ort-tests/tcdata/parameters.go         |  89 -----
 .../testing/ort-tests/tcdata/phys_locations.go     |  59 ----
 .../testing/ort-tests/tcdata/profile_parameters.go | 104 ------
 cache-config/testing/ort-tests/tcdata/profiles.go  | 120 -------
 cache-config/testing/ort-tests/tcdata/regions.go   |  89 -----
 cache-config/testing/ort-tests/tcdata/roles.go     |  71 ----
 .../testing/ort-tests/tcdata/servercapabilities.go |  50 ---
 .../ort-tests/tcdata/servercheckextension.go       | 125 -------
 .../testing/ort-tests/tcdata/serverchecks.go       |  85 -----
 cache-config/testing/ort-tests/tcdata/servers.go   | 150 +--------
 .../ort-tests/tcdata/serverservercapability.go     | 286 ----------------
 .../testing/ort-tests/tcdata/servicecategories.go  |  61 ----
 cache-config/testing/ort-tests/tcdata/session.go   |   8 +-
 .../testing/ort-tests/tcdata/staticdnsentries.go   |  59 ----
 .../testing/ort-tests/tcdata/steeringtargets.go    | 145 --------
 cache-config/testing/ort-tests/tcdata/tcdata.go    |  47 +--
 cache-config/testing/ort-tests/tcdata/tenants.go   |  91 -----
 .../testing/ort-tests/tcdata/topologies.go         |  76 -----
 cache-config/testing/ort-tests/tcdata/types.go     | 101 ------
 cache-config/testing/ort-tests/tcdata/user.go      |  90 -----
 cache-config/testing/ort-tests/tcdata/withobjs.go  | 137 ++++++--
 cache-config/testing/ort-tests/to_updater_test.go  |   2 +-
 lib/go-tc/totest/asns.go                           |  52 +++
 lib/go-tc/totest/cachegroup_deliveryservices.go    |  67 ++++
 lib/go-tc/totest/cachegroups.go                    | 140 ++++++++
 lib/go-tc/totest/cdns.go                           |  63 ++++
 lib/go-tc/totest/coordinates.go                    |  50 +++
 lib/go-tc/totest/deliveryservice_regexes.go        |  54 +++
 .../totest/deliveryservice_request_comments.go     |  60 ++++
 lib/go-tc/totest/deliveryservice_requests.go       |  75 +++++
 lib/go-tc/totest/deliveryservices.go               |  89 +++++
 .../deliveryservices_required_capabilities.go      |  52 +++
 lib/go-tc/totest/divisions.go                      |  50 +++
 lib/go-tc/totest/federation_resolvers.go           |  64 ++++
 lib/go-tc/totest/federation_users.go               |  67 ++++
 lib/go-tc/totest/federations.go                    |  86 +++++
 lib/go-tc/totest/jobs.go                           |  53 +++
 lib/go-tc/totest/origins.go                        |  56 +++
 lib/go-tc/totest/parameters.go                     |  50 +++
 lib/go-tc/totest/physlocations.go                  |  51 +++
 lib/go-tc/totest/profile_parameters.go             |  71 ++++
 lib/go-tc/totest/profiles.go                       |  61 ++++
 lib/go-tc/totest/regions.go                        |  51 +++
 lib/go-tc/totest/roles.go                          |  53 +++
 lib/go-tc/totest/server_capabilities.go            |  50 +++
 lib/go-tc/totest/server_check_extensions.go        |  51 +++
 lib/go-tc/totest/server_checks.go                  |  40 +++
 lib/go-tc/totest/server_server_capabilities.go     |  49 +++
 lib/go-tc/totest/servers.go                        |  64 ++++
 lib/go-tc/totest/service_categories.go             |  50 +++
 lib/go-tc/totest/static_dns_entries.go             |  50 +++
 lib/go-tc/totest/statuses.go                       |  55 +++
 lib/go-tc/totest/steering_targets.go               |  72 ++++
 lib/go-tc/totest/tenants.go                        |  55 +++
 lib/go-tc/totest/topologies.go                     |  50 +++
 .../go-tc/totest/traffic_control.go                |  38 ++-
 lib/go-tc/totest/types.go                          |  87 +++++
 lib/go-tc/totest/users.go                          |  89 +++++
 .../testing/tests/health-client-main_test.go       |   3 +-
 traffic_ops/testing/api/conf/traffic-ops-test.conf |   4 +-
 traffic_ops/testing/api/v4/asns_test.go            |  28 +-
 traffic_ops/testing/api/v4/cachegroups_test.go     | 151 +--------
 .../api/v4/cachegroupsdeliveryservices_test.go     |  77 +----
 traffic_ops/testing/api/v4/cdn_federations_test.go |  73 +---
 traffic_ops/testing/api/v4/cdn_locks_test.go       |  85 ++---
 .../testing/api/v4/cdn_queue_updates_test.go       |   9 +-
 traffic_ops/testing/api/v4/cdns_test.go            |  45 +--
 traffic_ops/testing/api/v4/coordinates_test.go     |  23 --
 .../v4/deliveryservice_request_comments_test.go    |  32 --
 .../api/v4/deliveryservice_requests_test.go        |  47 ---
 .../deliveryservices_required_capabilities_test.go |  43 +--
 .../testing/api/v4/deliveryservices_test.go        | 109 ++----
 .../testing/api/v4/deliveryserviceservers_test.go  |  51 +--
 .../api/v4/deliveryservicesideligible_test.go      |   3 +-
 .../testing/api/v4/deliveryservicesregexes_test.go |  43 +--
 traffic_ops/testing/api/v4/divisions_test.go       |  23 --
 .../api/v4/federation_deliveryservices_test.go     |  39 +--
 .../api/v4/federation_federation_resolvers_test.go |  15 +-
 .../testing/api/v4/federation_resolvers_test.go    |  26 +-
 .../testing/api/v4/federation_users_test.go        |  81 ++---
 traffic_ops/testing/api/v4/jobs_test.go            |  29 +-
 .../api/v4/multiple_server_capabilities_test.go    |  15 +-
 traffic_ops/testing/api/v4/origins_test.go         |  77 ++---
 traffic_ops/testing/api/v4/phys_locations_test.go  |  24 --
 .../testing/api/v4/profile_parameters_test.go      |  57 +---
 traffic_ops/testing/api/v4/profiles_export_test.go |   3 +-
 traffic_ops/testing/api/v4/profiles_test.go        |  64 +---
 traffic_ops/testing/api/v4/regions_test.go         |  23 --
 .../testing/api/v4/server_capabilities_test.go     |  23 --
 .../api/v4/server_server_capabilities_test.go      |  45 +--
 .../testing/api/v4/servercheckextension_test.go    |  28 +-
 traffic_ops/testing/api/v4/serverchecks_test.go    |  20 +-
 .../api/v4/servers_id_deliveryservices_test.go     |  35 +-
 .../testing/api/v4/servers_id_queue_update_test.go |   9 +-
 .../testing/api/v4/servers_id_status_test.go       |  17 +-
 traffic_ops/testing/api/v4/servers_test.go         | 127 +++----
 .../testing/api/v4/servicecategories_test.go       |  23 --
 traffic_ops/testing/api/v4/snapshot_test.go        |   3 +-
 .../testing/api/v4/staticdnsentries_test.go        |  23 --
 traffic_ops/testing/api/v4/steeringtargets_test.go |  75 +----
 traffic_ops/testing/api/v4/tenants_test.go         |  28 --
 .../testing/api/v4/topologies_queue_update_test.go |  11 +-
 traffic_ops/testing/api/v4/topologies_test.go      |  23 --
 traffic_ops/testing/api/v4/traffic_ops_test.go     |   3 +-
 traffic_ops/testing/api/v4/types_test.go           |  57 ----
 traffic_ops/testing/api/v4/users_test.go           |  55 +--
 traffic_ops/testing/api/v4/withobjs_test.go        | 134 ++++++--
 130 files changed, 3066 insertions(+), 5264 deletions(-)
 delete mode 100644 cache-config/testing/ort-tests/tcdata/cachegroups.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/cachegroups_parameters.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/cachegroupsdeliveryservices.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/cdnfederations.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/cdns.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/coordinates.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/deliveryservice_request_comments.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/deliveryservice_requests.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/deliveryservices.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/deliveryservices_required_capabilities.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/deliveryservicesregexes.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/divisions.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/federation_resolvers.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/federation_users.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/invalidation_jobs.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/origins.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/parameters.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/phys_locations.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/profile_parameters.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/profiles.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/regions.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/roles.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/servercapabilities.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/servercheckextension.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/serverchecks.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/serverservercapability.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/servicecategories.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/staticdnsentries.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/steeringtargets.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/tenants.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/topologies.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/types.go
 delete mode 100644 cache-config/testing/ort-tests/tcdata/user.go
 create mode 100644 lib/go-tc/totest/asns.go
 create mode 100644 lib/go-tc/totest/cachegroup_deliveryservices.go
 create mode 100644 lib/go-tc/totest/cachegroups.go
 create mode 100644 lib/go-tc/totest/cdns.go
 create mode 100644 lib/go-tc/totest/coordinates.go
 create mode 100644 lib/go-tc/totest/deliveryservice_regexes.go
 create mode 100644 lib/go-tc/totest/deliveryservice_request_comments.go
 create mode 100644 lib/go-tc/totest/deliveryservice_requests.go
 create mode 100644 lib/go-tc/totest/deliveryservices.go
 create mode 100644 lib/go-tc/totest/deliveryservices_required_capabilities.go
 create mode 100644 lib/go-tc/totest/divisions.go
 create mode 100644 lib/go-tc/totest/federation_resolvers.go
 create mode 100644 lib/go-tc/totest/federation_users.go
 create mode 100644 lib/go-tc/totest/federations.go
 create mode 100644 lib/go-tc/totest/jobs.go
 create mode 100644 lib/go-tc/totest/origins.go
 create mode 100644 lib/go-tc/totest/parameters.go
 create mode 100644 lib/go-tc/totest/physlocations.go
 create mode 100644 lib/go-tc/totest/profile_parameters.go
 create mode 100644 lib/go-tc/totest/profiles.go
 create mode 100644 lib/go-tc/totest/regions.go
 create mode 100644 lib/go-tc/totest/roles.go
 create mode 100644 lib/go-tc/totest/server_capabilities.go
 create mode 100644 lib/go-tc/totest/server_check_extensions.go
 create mode 100644 lib/go-tc/totest/server_checks.go
 create mode 100644 lib/go-tc/totest/server_server_capabilities.go
 create mode 100644 lib/go-tc/totest/servers.go
 create mode 100644 lib/go-tc/totest/service_categories.go
 create mode 100644 lib/go-tc/totest/static_dns_entries.go
 create mode 100644 lib/go-tc/totest/statuses.go
 create mode 100644 lib/go-tc/totest/steering_targets.go
 create mode 100644 lib/go-tc/totest/tenants.go
 create mode 100644 lib/go-tc/totest/topologies.go
 rename traffic_ops/testing/api/v4/traffic_control_test.go => lib/go-tc/totest/traffic_control.go (84%)
 create mode 100644 lib/go-tc/totest/types.go
 create mode 100644 lib/go-tc/totest/users.go