summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-09-02 15:04:55 +0800
committerluwenpeng <[email protected]>2024-09-02 16:54:18 +0800
commit9069dceae7b880e12ef4c9427574d5431c3e8107 (patch)
tree7331faa97f6b68c98cf45bc258a6db8ce40d12f3 /test
parente2f2823b9169b8c50c9a4e52cbeee7a2da8c5e1d (diff)
built snowflake into the session manager
Diffstat (limited to 'test')
-rw-r--r--test/decoders/http/test_based_on_stellar/env/stellar.toml5
-rw-r--r--test/packet_inject/conf/stellar.toml5
2 files changed, 4 insertions, 6 deletions
diff --git a/test/decoders/http/test_based_on_stellar/env/stellar.toml b/test/decoders/http/test_based_on_stellar/env/stellar.toml
index 58f5c94..e43a206 100644
--- a/test/decoders/http/test_based_on_stellar/env/stellar.toml
+++ b/test/decoders/http/test_based_on_stellar/env/stellar.toml
@@ -1,6 +1,5 @@
-[snowflake]
- snowflake_base = 1 # [0, 31]
- snowflake_offset = 2 # [0, 127]
+[instance]
+ id = 1 # range: [0, 4095] (20 bit)
[packet_io]
mode = "pcapfile" # pcapfile, pcaplist, marsio
diff --git a/test/packet_inject/conf/stellar.toml b/test/packet_inject/conf/stellar.toml
index ee4c8cb..50963b6 100644
--- a/test/packet_inject/conf/stellar.toml
+++ b/test/packet_inject/conf/stellar.toml
@@ -1,6 +1,5 @@
-[snowflake]
- snowflake_base = 1 # [0, 31]
- snowflake_offset = 2 # [0, 127]
+[instance]
+ id = 1 # range: [0, 4095] (20 bit)
[packet_io]
mode = "pcapfile" # pcapfile, pcaplist, marsio