user-1: Test: https://github.com/bitcoin/bitcoin/blob/master/test/functional/mempool_unbroadcast.py
I am trying this manually with below steps:

Run two nodes (regtest):

Node1:
bitcoind -port=18333 -rpcport=18332 -datadir="/home/prayank/node1" -conf="/home/prayank/node1/bitcoin.conf"

Node2:
bitcoind -port=18444 -rpcport=18443 -datadir="/home/prayank/node2" -conf="/home/prayank/node2/bitcoin.conf"


bitcoin.conf:

Node1:
regtest=1
server=1
listen=1

debug=mempool

regtest.rpcport=18332
rpcuser=user3
rpcpassword=password3

fallbackfee=0.0001

regtest.addnode=127.0.0.1:18444

Node2:
regtest=1
server=1
listen=1

debug=mempool

regtest.rpcport=18443
rpcuser=user3
rpcpassword=password3

fallbackfee=0.0001


Everything looks okay until Line 68

How would I do this without running this python code?
        # fast forward into the future & ensure that the second node has the txns
        node.mockscheduler(MAX_INITIAL_BROADCAST_DELAY)
        self.sync_mempools(timeout=30)


user48884: mockscheduler is a hidden RPC. This means that it will not be displayed when using the help command, but you can still use it by just calling it as usual. E.g. to do the same thing as this line in the test, you would do
bitcoin-cli -regtest mockscheduler 900

sync_mempools() is a function which just waits for the getrawmempool results of multiple nodes to match. You can just do that manually.

-1: <p>Test: <a href="https://github.com/bitcoin/bitcoin/blob/master/test/functional/mempool_unbroadcast.py" rel="nofollow noreferrer">https://github.com/bitcoin/bitcoin/blob/master/test/functional/mempool_unbroadcast.py</a></p>
<p>I am trying this manually with below steps:</p>
<ol>
<li>Run two nodes (regtest):</li>
</ol>
<p>Node1:</p>
<pre><code>bitcoind -port=18333 -rpcport=18332 -datadir=&quot;/home/prayank/node1&quot; -conf=&quot;/home/prayank/node1/bitcoin.conf&quot;
</code></pre>
<p>Node2:</p>
<pre><code>bitcoind -port=18444 -rpcport=18443 -datadir=&quot;/home/prayank/node2&quot; -conf=&quot;/home/prayank/node2/bitcoin.conf&quot;
</code></pre>
<ol start="2">
<li><code>bitcoin.conf</code>:</li>
</ol>
<p>Node1:</p>
<pre><code>regtest=1
server=1
listen=1

debug=mempool

regtest.rpcport=18332
rpcuser=user3
rpcpassword=password3

fallbackfee=0.0001

regtest.addnode=127.0.0.1:18444
</code></pre>
<p>Node2:</p>
<pre><code>regtest=1
server=1
listen=1

debug=mempool

regtest.rpcport=18443
rpcuser=user3
rpcpassword=password3

fallbackfee=0.0001
</code></pre>
<ol start="3">
<li>Everything looks okay until Line <a href="https://github.com/bitcoin/bitcoin/blob/da1c0c64fd094880712d1c4167ad9eb3bb6ffcc6/test/functional/mempool_unbroadcast.py#L68" rel="nofollow noreferrer"><code>68</code></a></li>
</ol>
<p>How would I do this without running this python code?</p>
<pre><code>        # fast forward into the future &amp; ensure that the second node has the txns
        node.mockscheduler(MAX_INITIAL_BROADCAST_DELAY)
        self.sync_mempools(timeout=30)
</code></pre>
 48884: <p><code>mockscheduler</code> is a hidden RPC. This means that it will not be displayed when using the <code>help</code> command, but you can still use it by just calling it as usual. E.g. to do the same thing as this line in the test, you would do</p>
<pre><code>bitcoin-cli -regtest mockscheduler 900
</code></pre>
<p><code>sync_mempools()</code> is a function which just waits for the <code>getrawmempool</code> results of multiple nodes to match. You can just do that manually.</p>
