Closed jkremser closed 5 months ago
hmm:
Messages: got:
map[roundrobin.cloud.example.com:[10.1.0.1 10.1.0.2 10.1.0.3 10.0.0.1 10.0.0.2 10.0.0.3]] Gslb Records status,
want:
map[roundrobin.cloud.example.com:[10.0.0.1 10.0.0.2 10.0.0.3 10.1.0.1 10.1.0.2 10.1.0.3]]
looks like ordering issue to me
another instance of the same thing (ordering of ips): https://github.com/k8gb-io/k8gb/actions/runs/3276047689/jobs/5391825487
Messages: got:
[
{
"dnsName": "localtargets-roundrobin.cloud.example.com",
"targets": [
"10.0.0.1",
"10.0.0.2",
"10.0.0.3"
],
"recordType": "A",
"recordTTL": 30
},
{
"dnsName": "roundrobin.cloud.example.com",
"targets": [
"10.1.0.1",
"10.1.0.2",
"10.1.0.3",
"10.0.0.1",
"10.0.0.2",
"10.0.0.3"
],
"recordType": "A",
"recordTTL": 30,
"labels": {
"strategy": "roundRobin"
}
}
] DNSEndpoint,
want:
[
{
"dnsName": "localtargets-roundrobin.cloud.example.com",
"targets": [
"10.0.0.1",
"10.0.0.2",
"10.0.0.3"
],
"recordType": "A",
"recordTTL": 30
},
{
"dnsName": "roundrobin.cloud.example.com",
"targets": [
"10.0.0.1",
"10.0.0.2",
"10.0.0.3",
"10.1.0.1",
"10.1.0.2",
"10.1.0.3"
],
"recordType": "A",
"recordTTL": 30,
"labels": {
"strategy": "roundRobin"
}
}
]
Can be reproduced locally by running
go test ./... -count=10
sometimes our unit tests fails on this:
https://github.com/k8gb-io/k8gb/actions/runs/3273083165/jobs/5384868955#step:7:819