Skip to content

Commit

Permalink
package rename
Browse files Browse the repository at this point in the history
  • Loading branch information
ianchen0119 committed Mar 14, 2024
1 parent 2755d64 commit 9caa278
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions fuzz/ie_fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/omec-project/pfcpsim/internal/pfcpsim/fuzz"
"github.com/omec-project/pfcpsim/internal/pfcpsim/export"
"github.com/omec-project/pfcpsim/pkg/pfcpsim/session"
"github.com/stretchr/testify/require"
)
Expand All @@ -14,7 +14,7 @@ const MaxUint = ^uint(0)
const MaxInt = int(MaxUint >> 1)

func TestBasicFunction(t *testing.T) {
sim := fuzz.NewPfcpSimCfg("eth0", "192.168.0.5", "127.0.0.8")
sim := export.NewPfcpSimCfg("eth0", "192.168.0.5", "127.0.0.8")
err := sim.InitPFCPSim()
if err != nil {
require.NoError(t, err, "InitPFCPSim failed")
Expand Down Expand Up @@ -51,7 +51,7 @@ func Fuzz(f *testing.F) {

f.Fuzz(func(t *testing.T, input uint) {
time.Sleep(5 * time.Second)
sim := fuzz.NewPfcpSimCfg("ens18", "10.10.0.59", "127.0.0.8")
sim := export.NewPfcpSimCfg("eth0", "192.168.0.5", "127.0.0.8")
err := sim.InitPFCPSim()
if err != nil {
require.NoError(t, err, "InitPFCPSim failed")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fuzz
package export

import (
"errors"
Expand Down

0 comments on commit 9caa278

Please sign in to comment.