mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-29 20:14:25 +01:00
runtime: update vendor/modules.txt
go 1.14 requires it to match go.mod and exposes a backtrace with slightly difference. Fixes: #227 Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
@@ -126,8 +126,6 @@ func TestSignalBacktrace(t *testing.T) {
|
||||
// determine name of *this* function
|
||||
pc := make([]uintptr, 1)
|
||||
goruntime.Callers(1, pc)
|
||||
fn := goruntime.FuncForPC(pc[0])
|
||||
name := fn.Name()
|
||||
|
||||
Backtrace()
|
||||
|
||||
@@ -136,5 +134,4 @@ func TestSignalBacktrace(t *testing.T) {
|
||||
// very basic tests to check if a backtrace was produced
|
||||
assert.True(strings.Contains(b, "contention:"))
|
||||
assert.True(strings.Contains(b, `level=error`))
|
||||
assert.True(strings.Contains(b, name))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user