Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

CI: Setup testing IRI environment #356

Open
howjmay opened this issue Dec 2, 2019 · 7 comments
Open

CI: Setup testing IRI environment #356

howjmay opened this issue Dec 2, 2019 · 7 comments
Assignees
Labels
A-tests Area - Tests C-deployment Category - Release deployment and package management P-low Priority - Low, not necessary

Comments

@howjmay
Copy link
Contributor

howjmay commented Dec 2, 2019

We currently use public network to process CI which causes transaction hashes disappear and hard to implement MAM unit test.
Therefore, we may use docker to setup a IRI with fixed DB.

@howjmay howjmay added C-deployment Category - Release deployment and package management P-medium Priority - Medium, not hurry but needed A-tests Area - Tests labels Dec 2, 2019
@ender503
Copy link
Member

ender503 commented Dec 6, 2019

I try to use the IRI docker, but it takes about 3-4 mins to startup and cost about 2.27G memory.
Maybe we could change the test case to avoid using the same transaction hash, for example, we could send the transaction to get the new transaction hash, then using the new transaction hash to fetch the transaction. 🤔

If we don't want to interact with the mainnet, maybe we just need the testnet.

@howjmay
Copy link
Contributor Author

howjmay commented Dec 7, 2019

testnet is absolutely OK for me. So even we used testnet, does IRI still take 4 mins to setup?

@ender503
Copy link
Member

ender503 commented Dec 9, 2019

It is my suggestion, start the IRI testnet all the time, and use it to check the test case, so we don't need 4 mins to startup or setup. And we may need to change the test case to avoid the IRI local snapshot. 🤔

@jserv jserv changed the title Setup TA testing IRI environment Jan 6, 2020
@howjmay howjmay added P-low Priority - Low, not necessary and removed P-medium Priority - Medium, not hurry but needed labels Jan 21, 2020
@howjmay
Copy link
Contributor Author

howjmay commented Mar 19, 2020

We currently run CI on private tangle. It enables us to send value tranasctions.

@howjmay
Copy link
Contributor Author

howjmay commented Mar 19, 2020

@junwei0117 Do you think that the current way that run CI totally on private tangle is a good choice. If so, I will close this issue

@junwei0117
Copy link
Member

junwei0117 commented Mar 19, 2020

@howjmay I think that is a good solution because any reaction of the private tangle is exactly the same as the mainnet, but the only thing we need to worry about is the confirmation of the transaction, because there is not enough transaction on the private tangle to ensure that the transaction can be verified, unless we start the Spammer.

@junwei0117
Copy link
Member

For some reason, I closed the private tangle and started a comnet node. Comnet is composed of only Hornet, and the Hornet behaviour is expected to be the same as the IRI.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-tests Area - Tests C-deployment Category - Release deployment and package management P-low Priority - Low, not necessary
5 participants