Files
Bogdan DrutuandGitHub 35d4156a67 [chore] Move memorylimiter dependencies under one module (#11419)
This PR only moves all the internal code used by internal/memorylimiter
under the same directory, next PR will extract that in a different
module to limit dependencies.

Signed-off-by: Bogdan Drutu <[email protected]>
2024-10-12 11:15:06 -07:00

18 lines
320 B
Go

// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
package iruntime
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestReadMemInfo(t *testing.T) {
vmStat, err := readMemInfo()
require.NoError(t, err)
assert.Positive(t, vmStat)
}