Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Test

...

Unit Test

NEF

prerequisite - ginkgo

  • cd 5GCEmulator/ngc  && make build
  • make test-unit-nef

edgdnscli (configures LDNS)

prerequisite - ginkgo

  • cd edgecontroller && make build-dnscli
  • make test-dnscli

Test-Env Setup

End-to-end test with the 5GC emulator

...

  • Step 1, deploy edge GW and on-board iPerf (server) following the steps described in Installation Documentation.
  • Step 2, run ngc/start.sh to launch the 5G CP (NEF), Edge GW+server and AF. A DNS request will be sent hereafter.  

  • Step 3, run ngc/test/Post.sh to start traffic offloading or ngc/test/Delete.sh to stop offloading.

Unit Test

Enter test directory:

  • cd ./5g-mec-cloud-gaming

...

  • make -C 5GCEmulator/ngc build && make -C 5GCEmulator/ngc test-unit-nef
  • make -C edgenode networkedge
  • make -C edgecontroller build-dnscli &&  make -C edgecontroller test-dnscli

Test results

End-to-end test

  • Non-offloading case

...

The 5GC prints "Offloading in progress", while the Edge GW prints the mount of data it receives in realtime. 

       

Unit Test

  • 5GCEmulator


  • EdgeNode


  • EdgeController

...