Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fast test develop #295

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: '1.20.5'
go-version: '1.21.0'
id: go
- uses: actions/checkout@v2
- uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vendoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: '1.20.5'
go-version: '1.21.0'
id: go
- uses: actions/checkout@v2
- uses: actions/cache@v2
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ require (
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/miekg/dns v1.1.53 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
Expand Down
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1179,8 +1179,9 @@ github.com/minio/highwayhash v1.0.1/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLT
github.com/minio/highwayhash v1.0.2/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLTk+kldvVxY=
github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI=
github.com/mitchellh/copystructure v1.1.1 h1:Bp6x9R1Wn16SIz3OfeDr0b7RnCG2OB66Y7PQyC/cvq4=
github.com/mitchellh/copystructure v1.1.1/go.mod h1:EBArHfARyrSWO/+Wyr9zwEkc6XMFB9XyNgFNmRkZZU4=
github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw=
github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s=
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
Expand All @@ -1195,8 +1196,9 @@ github.com/mitchellh/mapstructure v1.4.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RR
github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
github.com/mitchellh/reflectwalk v1.0.1 h1:FVzMWA5RllMAKIdUSC8mdWo3XtwoecrH79BY70sEEpE=
github.com/mitchellh/reflectwalk v1.0.1/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ=
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c=
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 h1:dcztxKSvZ4Id8iPpHERQBbIJfabdt4wUm5qy3wOL2Zc=
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw=
Expand Down
3 changes: 1 addition & 2 deletions src/internal/acceptance/metric-store/metric_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"github.com/cloudfoundry/metric-store-release/src/pkg/rpc"
"github.com/cloudfoundry/metric-store-release/src/pkg/rulesclient"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
prom_api_client "github.com/prometheus/client_golang/api"
prom_versioned_api_client "github.com/prometheus/client_golang/api/prometheus/v1"
Expand Down Expand Up @@ -188,7 +187,7 @@

var stopNode = func(tc *testContext, index int) {
tc.metricStoreProcesses[index].Terminate()
Eventually(tc.metricStoreProcesses[index].Exited, 2*time.Second).Should(BeClosed())

Check failure on line 190 in src/internal/acceptance/metric-store/metric_store_test.go

View workflow job for this annotation

GitHub Actions / All Tests

undefined: Eventually

Check failure on line 190 in src/internal/acceptance/metric-store/metric_store_test.go

View workflow job for this annotation

GitHub Actions / All Tests

undefined: BeClosed
}

var performOnAllNodes = func(tc *testContext, operation func(*testContext, int)) {
Expand Down Expand Up @@ -331,11 +330,11 @@
tc.ingressAddrs[0],
tc.tlsConfig,
)
Expect(err).ToNot(HaveOccurred())

Check failure on line 333 in src/internal/acceptance/metric-store/metric_store_test.go

View workflow job for this annotation

GitHub Actions / All Tests

undefined: Expect

Check failure on line 333 in src/internal/acceptance/metric-store/metric_store_test.go

View workflow job for this annotation

GitHub Actions / All Tests

undefined: HaveOccurred
defer client.Close()

err = client.Write(rpcPoints)
Expect(err).ToNot(HaveOccurred())

Check failure on line 337 in src/internal/acceptance/metric-store/metric_store_test.go

View workflow job for this annotation

GitHub Actions / All Tests

undefined: Expect

Check failure on line 337 in src/internal/acceptance/metric-store/metric_store_test.go

View workflow job for this annotation

GitHub Actions / All Tests

undefined: HaveOccurred

return metricNameCounts
}
Expand All @@ -344,11 +343,11 @@
metricNameCounts := optimisticallyWritePoints(tc, points)

if tc.metricStoreProcesses[0].ExitCode() == -1 {
Eventually(func() int {

Check failure on line 346 in src/internal/acceptance/metric-store/metric_store_test.go

View workflow job for this annotation

GitHub Actions / All Tests

undefined: Eventually
value, _, _ := tc.localEgressClient.LabelValues(context.Background(),
model.MetricNameLabel, result, minTime, maxTime)
return len(value)
}, 3).Should(Equal(len(metricNameCounts)))

Check failure on line 350 in src/internal/acceptance/metric-store/metric_store_test.go

View workflow job for this annotation

GitHub Actions / All Tests

undefined: Equal
}
}

Expand Down Expand Up @@ -379,7 +378,7 @@
return resp.StatusCode
}
}
Eventually(reload, 10).Should(Equal(http.StatusOK))

Check failure on line 381 in src/internal/acceptance/metric-store/metric_store_test.go

View workflow job for this annotation

GitHub Actions / All Tests

undefined: Eventually

Check failure on line 381 in src/internal/acceptance/metric-store/metric_store_test.go

View workflow job for this annotation

GitHub Actions / All Tests

undefined: Equal
}

var waitForMetric = func(tc *testContext, name string) {
Expand Down Expand Up @@ -484,7 +483,7 @@
_, _, err := tc.localEgressClient.LabelValues(context.Background(), model.MetricNameLabel,
result, minTime, maxTime)
return err
}, 15).Should(Succeed())
}, 55).Should(Succeed())

Eventually(func() model.LabelValues {
value, _, err := tc.localEgressClient.LabelValues(context.Background(), model.MetricNameLabel,
Expand Down
354 changes: 173 additions & 181 deletions src/internal/testing/bindata.go

Large diffs are not rendered by default.

110 changes: 55 additions & 55 deletions src/internal/testing/certificates.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,60 +84,60 @@ func MutualTLSClientConfig() *tls.Config {
}

var localhostCert = []byte(`-----BEGIN CERTIFICATE-----
MIIE4jCCAsqgAwIBAgIUI8iSzXNezM6iOg5vtRBhZn3mzUkwDQYJKoZIhvcNAQEL
BQAwGjEYMBYGA1UEAxMPbWV0cmljLXN0b3JlLWNhMB4XDTIyMDMwOTE1MDcwNVoX
DTMyMDMwODE1MDcwNVowRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3Rh
dGUxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDCCASIwDQYJKoZI
hvcNAQEBBQADggEPADCCAQoCggEBAOqksMLdWozNxrD1QoESMcsq/AgGp628mr6C
zc6D8xmxOE/fdeege5JBCSxuDvz8DxJI/UaDrbDUzH72X8bcsVRGf+hYt9dpnZWb
UCrumJsjLQ2vX3TuypEx7mTdx4GzYaLgfMDf2fi3m3ny8iggwt529+45GRgQAxG5
rVqvl5VYMLWTnMXUGJEGBGSeBOii6lbzJ28alaAh/gd7gDiTI1JLpR7RLm+YoLBx
VVC66yNlQ4r8mov0xx3b4kwawgJK35UiH80APwzzIttFCfgnib/BIhZQPCHsNAZz
g86CmPhnnhyw67wMVO1+U4rTv39LauRb2qG+M1sHyRakwWo87V8CAwEAAaOB9DCB
8TAJBgNVHRMEAjAAMBEGCWCGSAGG+EIBAQQEAwIGQDAzBglghkgBhvhCAQ0EJhYk
T3BlblNTTCBHZW5lcmF0ZWQgU2VydmVyIENlcnRpZmljYXRlMB0GA1UdDgQWBBRt
d279oTFLecXqo1YRvzMt4SxQnjBCBgNVHSMEOzA5gBRQx2ANY3ddbypAOvQQVwOm
ZVmqDKEepBwwGjEYMBYGA1UEAxMPbWV0cmljLXN0b3JlLWNhggEBMA4GA1UdDwEB
/wQEAwIFoDATBgNV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YCc+lgQEZO7QRWfIe7J7s
RToZRV+ZbRjpIp2Jysow55bYpBvY02i74R9Ot9MCgYEAqAMIVR7li2Ds9lUgzWyC
i2c2bYRWAg+ben+qwGd7Y3+joTFaN1vKZyPpOFsPjhjG8VrJ1ifByeiSQQrD5j3c
1hxq6qcqaMoxceRmcHccVpbrBsUq8mYnxVARbq9Gj7erRTGZrJfcwuuBQ1f0pM3k
KveOWTnospvwx1LjIsCU+eECgYBf/6vsj2t7LD2tdyCZ/hQFIuYtpA/vTL4CDqEC
qMeOFvWPPLZmcOfYC6FjOUmA2+1IsN6ZSxo5eDsYmiuTW1n5XM5Atf5RF6Vzt32Q
gmANBkXY6+yrORy7LgO6tXdZJ0fIg7icb8o8m0lyzoIDx2wKgxGFKYHCNO7go5F/
5nhNHwKBgEDz8M+OzXYg0y9qBNTaYbwEpOzHk3FL4Lei/qct8k/gzN5n/FshP6/W
jBQWqa1w5CqCwcqmAN6dDwRO5SJWIv3UeX+wyAear440ebfFuGNw5Fuf1m7lqJth
9A7NlLz+9jfzaPsOXeTiCvN1pDw+sNvHepkII2++pRPN7e1T7Wuo
-----END RSA PRIVATE KEY-----`)
55 changes: 28 additions & 27 deletions src/internal/testing/certs/localhost.crt
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
-----BEGIN CERTIFICATE-----
MIIE4jCCAsqgAwIBAgIUI8iSzXNezM6iOg5vtRBhZn3mzUkwDQYJKoZIhvcNAQEL
BQAwGjEYMBYGA1UEAxMPbWV0cmljLXN0b3JlLWNhMB4XDTIyMDMwOTE1MDcwNVoX
DTMyMDMwODE1MDcwNVowRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3Rh
dGUxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDCCASIwDQYJKoZI
hvcNAQEBBQADggEPADCCAQoCggEBAOqksMLdWozNxrD1QoESMcsq/AgGp628mr6C
zc6D8xmxOE/fdeege5JBCSxuDvz8DxJI/UaDrb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1NMIEdlbmVyYXRlZCBTZXJ2ZXIgQ2VydGlmaWNhdGUwHQYD
VR0OBBYEFLXvuV9NrnKYsz2GV8aRHj8/TdaqMEIGA1UdIwQ7MDmAFF7vtw5ffhkt
mUzXnb7T2Ctsy5Z+oR6kHDAaMRgwFgYDVQQDEw9tZXRyaWMtc3RvcmUtY2GCAQEw
DgYDVR0PAQH/BAQDAgWgMBMGA1UdJQQMMAoGCCsGAQUFBwMBMBQGA1UdEQQNMAuC
CWxvY2FsaG9zdDANBgkqhkiG9w0BAQsFAAOCAgEAZusGE+VNU+XYYJxIIMyGtP7W
D/rKJfA9su6ziCD5M4INn3ipXkMdcSXiEzbCe/jkCgjICr4YR25vVXl0AYCOK7o4
zvs4ZLiL+RrTjdi6T1JSLcpFPVQvfDqtdwr31jpk+4bi3SukU9yv7bki3APfbPUz
HWRassKLNwsjoAy7N4UvnEvjDvTvgxkqSNaVmsQgy2vZoINdB1w1tEGa6Lflozyl
o/3wwXb3y/cKJChO52YnsxEH5alImE4AhsWsJDrSz9HW3TetUB/WOHFNFCIvU3E/
eCEjw2pGqM3xsdlGF4KMJ149nJMP3PFJOnGxaGrHNTkHSXX799OyEM+jJDM0KM7t
bxRkY91ln5JZuVufWQTEz0G4bTzACWabLUeW5FQzLcru7CwpT3mVuU5TWCEn3Slx
tn4S8VMuD0QNhNMbl6d6acyZ/tNdEtABFiAm7cfBBPrEHwa7x+TTxx8v6O+fxrWL
XncNnHfYtSi9TK/FLmB+D1kQOR0wMA/RHgsrTVNvJq1/SjxXd48QATacGdHyELLL
etiy74MkqChdSyVFLlY5vizgM9jh8KX2NeQkgWyoPlrOd3xBXXzZPpX36KE5nj5W
WrHyEU/CFLjmqUH70c8f7lAqZduNL35tUdOC7VY6hNGP45JOnecZWIZMeUeSxQhP
dQVBDTvYddukeSZMIA4=
-----END CERTIFICATE-----
30 changes: 16 additions & 14 deletions src/internal/testing/certs/localhost.csr
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
-----B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hbnVreWFuQHZtd2Fy
ZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCkT3VSHdZpSgE8
SJJ8quSlH5P/3CQbDZ6ju99ZfoQKSkBcxfuibpZDUyJTys6u4xFW3B8031eNaCFV
4bsEm3xruLWleRsnftB/s/heCSl//IqlRcmBL0pOUUigAEnsFFavXNhKyxBRJgYO
M83iyRtpDXlMMM2rNNOszE3GsPM9mmgyvbBJE4eU4xonP7WV+RCJTjVZPi07KPv2
xXb8AS7yypYAnUl+y+ufeTDzhSOqUj3SpAj7nZRv0WWAJHFF3UxAr5P0Pwi7kyC8
KCzA8MQgaZfUKJCzB61kL06WHNZv+5n/gb5r/4ezhR7YT6qtN7NhfRw38vHsoVaS
XIs/7vdzAgMBAAGgFTATBgkqhkiG9w0BCQcxBgwEdGVzdDANBgkqhkiG9w0BAQsF
AAOCAQEATKkrVuj1HQDu/pRMDUGSNlZnvyahzVyGlD8TxYYc+NpFlze3tD4iSwtE
loEfH8ScS9P2rXPhmuSZGM5OZr9x2aNbbyZtEkbAxYzBihYOc36aXhLvbHNXS6Jn
OvxGF4mCQF9tRFbp9sGz/VvoatMaHRH/I2POzc8UReoSzf1+49PVbsRIfharvQyE
Zs99CxsucHEwrB1Na+U1z0ZZg9JvXOHkNs3UiI37TncoPbHTx30G/cg+UzT+Ozi+
hnFADipd6ntr6jXcNOv1xXh/cAiSujYtwlDnljyEb4DsZqdayBnk8tewO1S9Pe+o
2ivXh8jlRv82q8zvR+CQ9dPA3iTg/A==
-----END CERTIFICATE REQUEST-----
55 changes: 27 additions & 28 deletions src/internal/testing/certs/localhost.key
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDqpLDC3VqMzcaw
9UKBEjHLKvwIBqetvJq+gs3Og/MZsThP33XnoHuSQQksbg78/A8SSP1Gg62w1Mx+
9l/G3LF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