mirror of
https://github.com/SeriousBug/gandi-live-dns-rust
synced 2024-05-18 03:09:04 -05:00
skip IP source API tests in CI
This commit is contained in:
parent
9a685be5cb
commit
efce52cb03
6
src/ip_source/Readme.md
Normal file
6
src/ip_source/Readme.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
The IP sources. These are APIs that we can query to get the IP address of the
|
||||
current service.
|
||||
|
||||
The tests under this directory are all marked to be skipped, the tests hit the
|
||||
actual APIs and can be flakey in CI. Make sure to run the tests manually if you
|
||||
have to modify the code.
|
|
@ -37,6 +37,7 @@ mod tests {
|
|||
use super::IPSourceIcanhazip;
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore]
|
||||
async fn ipv4_test() {
|
||||
let ipv4 = IPSourceIcanhazip::get_ipv4()
|
||||
.await
|
||||
|
@ -47,6 +48,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore]
|
||||
async fn ipv6_test() {
|
||||
let ipv6 = IPSourceIcanhazip::get_ipv6()
|
||||
.await
|
||||
|
|
|
@ -29,6 +29,7 @@ mod tests {
|
|||
use super::IPSourceIpify;
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore]
|
||||
async fn ipv4_test() {
|
||||
let ipv4 = IPSourceIpify::get_ipv4()
|
||||
.await
|
||||
|
@ -39,6 +40,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore]
|
||||
async fn ipv6_test() {
|
||||
let ipv6 = IPSourceIpify::get_ipv6()
|
||||
.await
|
||||
|
|
Loading…
Reference in a new issue