Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
R
re6stnet
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 6
    • Merge Requests 6
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • nexedi
  • re6stnet
  • Merge Requests
  • !38

Merged
Opened Apr 05, 2022 by zhifan huang@zf.huang
  • Report abuse
Report abuse

Unittest

Add tests for re6setnet, slapos!1165 (closed) use this to run test on test-node.

tests contain 2 parts: unittest and network simulate test

-unittest: contain test for RegistryServer, RegistryClient, cli.conf, tunnel.BaseTunnelManger, tunnel.MultGatewayManager zf.huang/re6stnet@e7636b86

-net_test: use nemu to create net namespaces and run registry or node in each net ns, finally use ping to test ipv6 connectivty zf.huang/re6stnet@5bc6419c

Edited May 31, 2022 by zhifan huang

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch https://lab.nexedi.com/zf.huang/re6stnet.git unittest
git checkout -b zf.huang/re6stnet-unittest FETCH_HEAD

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout origin/master
git merge --no-ff zf.huang/re6stnet-unittest

Step 4. Push the result of the merge to GitLab

git push origin master

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 71
  • Commits 24
  • Changes 23
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: nexedi/re6stnet!38

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7