Skip to content

TRANSIP: Wrong SRV record content#1987

Merged
tlimoncelli merged 1 commit intoitstoragesvc:masterfrom
cafferata:transip-bug-srv-record
Jan 26, 2023
Merged

TRANSIP: Wrong SRV record content#1987
tlimoncelli merged 1 commit intoitstoragesvc:masterfrom
cafferata:transip-bug-srv-record

Conversation

@cafferata
Copy link
Copy Markdown
Contributor

The SRV record content must be in the format "priority weight port target".

cd integrationTest
go test -v -verbose -provider TRANSIP

Before

=== RUN   TestDNSProviders/cafferata.dev/21:SRV:SRV_record
    integration_test.go:223: CREATE SRV _sip._tcp.cafferata.dev 5 6 7 foo.com. ttl=300
    integration_test.go:227: the SRV record content must be in the format "priority weight port target": _sip._tcp 300 SRV 6 7 foo.com.

After

=== RUN   TestDNSProviders/cafferata.dev/00:SRV:SRV_record
    integration_test.go:223: CREATE SRV _sip._tcp.cafferata.dev 5 6 7 foo.com. ttl=300
=== RUN   TestDNSProviders/cafferata.dev/00:SRV:Second_SRV_record,_same_prio
    integration_test.go:223: CREATE SRV _sip._tcp.cafferata.dev 5 60 70 foo2.com. ttl=300
=== RUN   TestDNSProviders/cafferata.dev/00:SRV:3_SRV
    integration_test.go:223: CREATE SRV _sip._tcp.cafferata.dev 15 65 75 foo3.com. ttl=300
=== RUN   TestDNSProviders/cafferata.dev/00:SRV:Delete_one
    integration_test.go:223: DELETE SRV _sip._tcp.cafferata.dev 5 60 70 foo2.com. ttl=300
=== RUN   TestDNSProviders/cafferata.dev/00:SRV:Change_Target
    integration_test.go:223: MODIFY SRV _sip._tcp.cafferata.dev: (15 65 75 foo3.com. ttl=300) -> (15 65 75 foo4.com. ttl=300)[1/2]
    integration_test.go:223: MODIFY SRV _sip._tcp.cafferata.dev: (15 65 75 foo3.com. ttl=300) -> (15 65 75 foo4.com. ttl=300)[2/2]
=== RUN   TestDNSProviders/cafferata.dev/00:SRV:Change_Priority
    integration_test.go:223: MODIFY SRV _sip._tcp.cafferata.dev: (5 6 7 foo.com. ttl=300) -> (52 6 7 foo.com. ttl=300)[1/2]
    integration_test.go:223: MODIFY SRV _sip._tcp.cafferata.dev: (5 6 7 foo.com. ttl=300) -> (52 6 7 foo.com. ttl=300)[2/2]
=== RUN   TestDNSProviders/cafferata.dev/00:SRV:Change_Weight
    integration_test.go:223: MODIFY SRV _sip._tcp.cafferata.dev: (52 6 7 foo.com. ttl=300) -> (52 62 7 foo.com. ttl=300)[1/2]
    integration_test.go:223: MODIFY SRV _sip._tcp.cafferata.dev: (52 6 7 foo.com. ttl=300) -> (52 62 7 foo.com. ttl=300)[2/2]
=== RUN   TestDNSProviders/cafferata.dev/00:SRV:Change_Port
    integration_test.go:223: MODIFY SRV _sip._tcp.cafferata.dev: (52 62 7 foo.com. ttl=300) -> (52 62 72 foo.com. ttl=300)[1/2]
    integration_test.go:223: MODIFY SRV _sip._tcp.cafferata.dev: (52 62 7 foo.com. ttl=300) -> (52 62 72 foo.com. ttl=300)[2/2]
=== RUN   TestDNSProviders/cafferata.dev/00:SRV:Empty
    integration_test.go:223: DELETE SRV _sip._tcp.cafferata.dev 15 65 75 foo4.com. ttl=300
    integration_test.go:223: DELETE SRV _sip._tcp.cafferata.dev 52 62 72 foo.com. ttl=300
=== RUN   TestDNSProviders/cafferata.dev/00:SRV:Null_Target
    integration_test.go:223: CREATE SRV _sip._tcp.cafferata.dev 15 65 75 . ttl=300
=== RUN   TestDNSProviders/cafferata.dev/Post_cleanup:Empty
    integration_test.go:223: DELETE SRV _sip._tcp.cafferata.dev 15 65 75 . ttl=300
=== RUN   TestDNSProviders/cafferata.dev/01:SSHFP:SSHFP_record

cc: @blackshadev

@tlimoncelli tlimoncelli merged commit 222f50d into itstoragesvc:master Jan 26, 2023
@cafferata cafferata deleted the transip-bug-srv-record branch January 26, 2023 20:21
@cafferata cafferata changed the title BUG: TRANSIP: Wrong SRV record content TRANSIP: BUG: Wrong SRV record content Feb 6, 2023
@cafferata cafferata changed the title TRANSIP: BUG: Wrong SRV record content TRANSIP: Wrong SRV record content Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants