Skip to content

Instantly share code, notes, and snippets.

@wthrajat
Created January 19, 2024 18:24
Show Gist options
  • Save wthrajat/24edf41b60d5abc90e8fc675b3b72ddf to your computer and use it in GitHub Desktop.
Save wthrajat/24edf41b60d5abc90e8fc675b3b72ddf to your computer and use it in GitHub Desktop.
current log`
cargo test --features integration-test --test abort1          ─╯
   Compiling coinswap v0.1.0 (/home/rajat/rust/teleport-transactions)
    Finished test [unoptimized + debuginfo] target(s) in 4.24s
     Running tests/abort1.rs (target/debug/deps/abort1-5bad355b1ca50b27)

running 1 test
[2024-01-19T18:13:34Z INFO  coinswap::test_framework] temporary directory : tests/temp-files/1yAnYBzx
[2024-01-19T18:13:34Z INFO  coinswap::test_framework] bitcoind configuration: ["-regtest", "-fallbackfee=0.0001", "-txindex=1"]
[2024-01-19T18:13:35Z INFO  coinswap::test_framework] bitcoind initiated!!
[2024-01-19T18:13:35Z INFO  coinswap::taker::api] New Wallet created at : "tests/temp-files/1yAnYBzx/wallets/cfd56249a-taker"
[2024-01-19T18:13:35Z WARN  coinswap::taker::config] Taker config file not found, creating default config file at path: tests/temp-files/1yAnYBzx/configs/taker.toml
[2024-01-19T18:13:35Z INFO  coinswap::taker::config] Successfully loaded config file from : tests/temp-files/1yAnYBzx/configs/taker.toml
[2024-01-19T18:13:35Z INFO  coinswap::wallet::rpc] wallet created: cfd56249a-taker
[2024-01-19T18:13:45Z INFO  coinswap::maker::api] New Wallet created at : "tests/temp-files/1yAnYBzx/wallets/maker16102"
[2024-01-19T18:13:45Z WARN  coinswap::maker::config] Maker config file not found, creating default config file at path: tests/temp-files/1yAnYBzx/configs/maker.toml
[2024-01-19T18:13:45Z INFO  coinswap::maker::config] Successfully loaded config file from : tests/temp-files/1yAnYBzx/configs/maker.toml
[2024-01-19T18:13:45Z INFO  coinswap::wallet::rpc] wallet created: maker16102
[2024-01-19T18:13:57Z INFO  coinswap::maker::api] New Wallet created at : "tests/temp-files/1yAnYBzx/wallets/maker6102"
[2024-01-19T18:13:57Z INFO  coinswap::maker::config] Successfully loaded config file from : tests/temp-files/1yAnYBzx/configs/maker.toml
[2024-01-19T18:13:57Z INFO  coinswap::wallet::rpc] wallet created: maker6102
[2024-01-19T18:14:00Z INFO  coinswap::test_framework] spawning block generation thread
[2024-01-19T18:14:01Z INFO  coinswap::maker] Listening On Port 16102
[2024-01-19T18:14:01Z INFO  coinswap::maker] Listening On Port 6102
[2024-01-19T18:14:01Z INFO  coinswap::maker] [16102] Spawning Connection status check thread
[2024-01-19T18:14:01Z INFO  coinswap::maker] [16102] Spawning contract-watcher thread
[2024-01-19T18:14:01Z INFO  coinswap::maker] [6102] Spawning contract-watcher thread
[2024-01-19T18:14:01Z INFO  coinswap::maker] [6102] Spawning Connection status check thread
[2024-01-19T18:14:21Z INFO  coinswap::maker] [16102] <=== Accepted Connection on port=50148
[2024-01-19T18:14:21Z INFO  coinswap::maker] [6102] <=== Accepted Connection on port=55932
[2024-01-19T18:14:21Z INFO  coinswap::utill] ----- util 94 socket writer = WriteHalf(
        PollEvented {
            io: Some(
                TcpStream {
                    addr: 127.0.0.1:55932,
                    peer: 127.0.0.1:6102,
                    fd: 24,
                },
            ),
        },
    )
[2024-01-19T18:14:21Z INFO  coinswap::utill] ----- util 94 socket writer = WriteHalf(
        PollEvented {
            io: Some(
                TcpStream {
                    addr: 127.0.0.1:50148,
                    peer: 127.0.0.1:16102,
                    fd: 25,
                },
            ),
        },
    )
[2024-01-19T18:14:21Z INFO  coinswap::maker] [16102] Spawning Handler Thread
[2024-01-19T18:14:21Z INFO  coinswap::maker] [6102] Spawning Handler Thread
[2024-01-19T18:14:21Z INFO  coinswap::utill] ----- util 94 socket writer = WriteHalf(
        PollEvented {
            io: Some(
                TcpStream {
                    addr: 127.0.0.1:16102,
                    peer: 127.0.0.1:50148,
                    fd: 29,
                },
            ),
        },
    )
[2024-01-19T18:14:21Z INFO  coinswap::utill] ----- util 94 socket writer = WriteHalf(
        PollEvented {
            io: Some(
                TcpStream {
                    addr: 127.0.0.1:6102,
                    peer: 127.0.0.1:55932,
                    fd: 28,
                },
            ),
        },
    )
[2024-01-19T18:14:21Z INFO  coinswap::maker] [16102] ===> MakerHello
[2024-01-19T18:14:21Z INFO  coinswap::maker] [6102] ===> MakerHello
test test_stop_taker_after_setup has been running for over 60 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment