Damien Mathieu
625d76daea
Don't panic when setting a provider to itself ( #2749 )
...
* don't panic when setting a provider to itself
* check for the presence of a delegate in all tests
* use t.Fatal instead of t.Error
* remove unneeded return
* Update CHANGELOG.md
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* log errors when skipping providers
* check for current provider outside of the run once
* Update internal/global/state_test.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update internal/global/state_test.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update internal/global/state_test.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update internal/global/state_test.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update internal/global/state_test.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update internal/global/state_test.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update metric/internal/global/state_test.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update metric/internal/global/state_test.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update internal/global/state_test.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-03-31 11:16:51 -07:00
Damien Mathieu
60041d2992
run ResetForTest during cleanup ( #2754 )
...
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
2022-03-31 10:21:14 -07:00
Pablo Baeyens
19294aab4c
Add vanity imports to internal packages ( #2280 )
...
* `porto -w --include-internal .`
* Bump `porto` to 0.4.0 and include internal files
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-10-29 09:34:37 -07:00
Anthony Mirabella
7728a52135
Remove dependency on metrics packages ( #1988 )
...
* Declare internal/metric module to version it separately
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Remove dependency on metrics module from soon-to-be-stable modules
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Add PR ID to CHANGELOG
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* rename metric/oteltest to metric/metrictest
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Fix metrictest package name in CHANGELOG
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2021-06-10 15:05:25 -04:00
Krzesimir Nowak
3d6e8b5078
Move Version function and code from global to toplevel ( #1330 )
...
* Move global code to toplevel package
* Move version function to toplevel package
* Update changelog
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-11-16 09:30:54 -08:00