Skip to content
Snippets Groups Projects
  1. Apr 23, 2020
  2. Apr 22, 2020
    • Luca Moser's avatar
      Refactor message layer packages (#331) · 08b51ce5
      Luca Moser authored
      * replace 'transaction' with 'message' in message layer pkg
      
      * remove more occurrences of 'transaction'
      
      * fixes ReferencedMessageId() returning approverMessageId
      
      * renames ApprovingMessageId to ApproverMessageId
      
      * use ApproverMessageId in deleteFureCone()
      
      * refactors message pkg
      
      * renames payloadId in Message to contentId
      
      * finalize comment on what a Message is
      
      * refactors additional message sub pkgs
      
      * renames 'transaction' to 'message' in gossip plugin
      
      * removes occurrences of 'transaction' in graph plugin
      
      * removes occurrences of 'transaction' in metrics plugin
      
      * refactors dashboard plugin for messages
      
      * removes further occurrences where tx is used instead of msg
      
      * fixes TestMessageRequest in manager_test.go
      
      * go fmt explorer_routes.go
      
      * fix review comments
      
      * fix Errorf order
      
      * throw around bones
      Unverified
      08b51ce5
  3. Apr 16, 2020
    • Jonas Theis's avatar
      Integration tests (#312) · 14948393
      Jonas Theis authored
      * Add docker compose for running integration tests.
      Runs entry_node and arbitrary number of peers in docker network
      
      * Fix permission denied in container if run without mounting a `rw` volume making it possible to run as throw-away container.
      Remove `VOLUME` from Dockerfile as this only pollutes host system with anonymous volumes.
      
      * Use named network for easier external use
      
      * Add test container that discovers peers and waits for autopeering to happen
      
      * Fix min waitForNeighbors
      
      * Add go.sum
      
      * Run integration tests with Github Actions
      
      * Added framework that abstracts the docker network and provides convenience functionality
      
      * Update directory in Github Actions
      
      * Add bash script for automated local test execution
      
      * Add getMessageByHash endpoint
      
      * Adjust to merge changes
      
      * Add methods to easily do HTTP POST requests
      
      * Added relay message test
      
      * Increase client timeout
      
      * Verbose output for tests makes it easier to follow the execution
      
      * Introduce small API wrapper for GoShimmer HTTP API
      
      * Adjust relay test to use new API wrapper
      
      * WIP: Docker logs
      
      * Fix issue with serving visualizer analysis server of entry node
      
      * Persist logs of containers after CI run
      
      * Fix test file
      
      * Fix uploading of artifacts
      
      * Save all containers' logs as artifacts
      
      * Create logs files also with local run
      
      * Add possibility to retrieve logs from a peer via Docker logs
      
      * Make tester part of the goshimmer module to make code sharing possible
      
      * Use client/lib to make HTTP requests in tester
      
      * Fix unit test directory
      
      * Add comments/doc to the code
      
      * Add readme
      
      * Move tester to own module and don't build container but use existing golang one instead
      
      * Address PR comments
      
      * Adjust to merge
      
      * Only use 1 config file for all containers
      
      * go mod tidy
      
      * Rename client lib base url
      Unverified
      14948393
Loading