x.vweb: bump port numbers for tests, to avoid conflicts with the equivalent veb test ports

This commit is contained in:
Delyan Angelov 2024-10-30 20:27:04 +02:00
parent dad8e3c766
commit d79b85099c
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
9 changed files with 9 additions and 9 deletions

View File

@ -4,7 +4,7 @@ import x.vweb.sse
import time
import net.http
const port = 13008
const port = 23008
const localserver = 'http://127.0.0.1:${port}'
const exit_after = time.second * 10

View File

@ -3,7 +3,7 @@ import time
import os
import net.http
const port = 13006
const port = 23006
const localserver = 'http://127.0.0.1:${port}'

View File

@ -3,7 +3,7 @@ import net.http
import os
import time
const port = 13012
const port = 23012
const localserver = 'http://localhost:${port}'
const exit_after = time.second * 10
const allowed_origin = 'https://vlang.io'

View File

@ -5,7 +5,7 @@ import net.http
import time
import os
const port = 13002
const port = 23002
const localserver = 'http://127.0.0.1:${port}'

View File

@ -3,7 +3,7 @@ import net.http
import os
import time
const port = 13001
const port = 23001
const localserver = 'http://127.0.0.1:${port}'

View File

@ -6,7 +6,7 @@ import time
import x.vweb
const exit_after = time.second * 10
const port = 13009
const port = 23009
const localserver = 'localhost:${port}'
const tcp_r_timeout = 2 * time.second
const tcp_w_timeout = 2 * time.second

View File

@ -3,7 +3,7 @@ import net.http
import os
import time
const port = 13003
const port = 23003
const localserver = 'http://127.0.0.1:${port}'

View File

@ -2,7 +2,7 @@ import x.vweb
import time
import db.sqlite
const port = 13004
const port = 23004
pub struct Context {
vweb.Context

View File

@ -8,7 +8,7 @@ import net.http
const vexe = os.getenv('VEXE')
const vroot = os.dir(vexe)
const port = 48872
const port = 23013
const welcome_text = 'Welcome to our simple vweb server'
// Use a known good http client like `curl` (if it exists):